11-27-2015, 03:09 PM
Hi,
I have a Toolbar with menu.
If I use the "record operation", UFT creates this code:
I would not use the coordinates because The order of the menu items could change.
In menu i have:
Item 1
SubItem 1
How can I select SubItem 1?
This is my object:
Thanks.
I have a Toolbar with menu.
If I use the "record operation", UFT creates this code:
Code:
SwfWindow("MyApp").SwfObject("_Form1_Toolbars_Dock_Area_Top").Click 827,9
SwfWindow("MyApp").SwfWindow("SwfWindow_2").SwfObject("SwfObject").Click 56,19
I would not use the coordinates because The order of the menu items could change.
In menu i have:
Item 1
SubItem 1
How can I select SubItem 1?
This is my object:
Thanks.