Forum Discussion

JackSparrow's avatar
JackSparrow
Frequent Contributor
10 years ago
Solved

Selecting the MainMenu Options

Hi all, Am trying to Navigate through the main Menu options as below In the Above Picture Until I click on Home button the remaining options will not be enabled .I need to Select File and N...
  • altemann's avatar
    10 years ago

    Maybe using another method to select items will solve the problem?

    I usually use .Click("");

     

    E.g: 

     

     mainmenu = Sys.Process("Teachers.debug").VCLObject("frmMain").VCLObject("barRibbon")
     mainmenu.Click("Home")
     mainmenu.Click("File|Functions|XYZ|ABC Navigator")

     

    Let me know if that works !

  • JackSparrow's avatar
    JackSparrow
    10 years ago

    altemann thanks for the help , actually there is an frame name which was not showing in Object spy but was visible on the menu so in between I linked with that frame name then the menu name as you said so it worked thanks once again