Forum Discussion

arijken's avatar
arijken
Occasional Contributor
2 days ago

Delphi Mainmenu items is not clicked

Some of my test fail because the mainmenu item is not clicked in keyword test en script 
sometimes this  works 
    var MainMenu = Aliases.Match.fMain.MainMenu;
    MainMenu.Click("Verkoop|Klok verdelen");
or 
   var MainMenu = Aliases.Match.fMain.MainMenu;
    MainMenu.Click("[0]|[14]|[0]");

What is the best way to open an main menu item in a script 

3 Replies

  • arijken's avatar
    arijken
    Occasional Contributor

    I got it fixed in the script I was working on. But I now I have problems in several keyword tests that doesn't click the correct menuitem. Zo I tried to make a script but that has the same problem

     

    • rraghvani's avatar
      rraghvani
      Icon for Champion Level 3 rankChampion Level 3

      As I have responded a number of times to your previous posts -

      What does the Object Browser or Object Spy tool show for your menu items? Without seeing what's being exposed, it's difficult to suggest a possible solution

      I can't help without this information!