Delphi Mainmenu items is not clicked

Originally posted by arijken on April 13, 2026

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

Originally posted by rraghvani on April 13, 2026

Are you still having issues with the menu items?

Originally posted by arijken on April 14, 2026

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

Originally posted by rraghvani on April 14, 2026

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!