cancel
Showing results for 
Search instead for 
Did you mean: 

Window recognized incorrectly

Highlighted
Regular Contributor

Window recognized incorrectly

i have popup menu window



                Sys.Process("Process").Window("PopupMenu", "", 2)



and sub popup menu window



                 Sys.Process("Process").Window("PopupMenu", "", 1)



i m using text recognition to access popup menu items since menu bar is custom control not supported in tc. whenever i use to access the popup item it works fine.

  

  'Popup menu

 

Sys.Process("Process").Window("PopupMenu", "", 2).Textobject("File").Click





Suppose if the popup menu has sub popup menu then tc not perfoming click on sub popup menu it searches in main popup menu and fails to click on the subpopup menu item. is there any way to map sub popup menu window separately?
1 REPLY 1
Highlighted
Regular Contributor
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors