Ask a Question

Problem with selection in popup menu for item

V_1
New Contributor

Problem with selection in popup menu for item

Hi

 

I have recorded a basic script in 12.60:

 

 Call Aliases.CMS.frmCmsMdi.StripMainMenu.Click("[5]|Cancel Job")

 

However when I replay, the error message states 'Cannot obtain the popup menu for item 5' and in playback, it hovers over [5] (onscreen, known as 'Administration') but doesn't bring up the menu. When I use the object-spy on item [5] it is mapped as: 

 

Aliases.CMS.frmCmsMdi.MDIMENU

 

and then when I use the object spy to obtain 'Cancel Job' from the sub-menu it is mapped as:

 

Aliases.CMS.ToolStripDropDownMenu

 

My colleague can get this to work in 12.5 but the script looks the same so I am unsure what the issue is. Does anyone have any ideas?

cancel
Showing results for 
Search instead for 
Did you mean: