Action Menu Method is not working in easy repro Method Could any any one help me out

Action Menu Method is not working in easy repro Method Could any any one help me out
Action Menu Button is xrmApp.CommandBar.ClickCommand("Click2undo More Commands", "History"); using this method in easy repro Framework But it is not working could any one help me out