Winmenu sub item object

29 views
Skip to first unread message

test automate

unread,
Feb 22, 2019, 11:49:14 AM2/22/19
to Mercu...@googlegroups.com
Hi ,

I need to dynamically find the winmenu sub item based on the display text. I need to find which index it is and click on it. The issue I am facing is when I do the getItemProperty(<item path>, "Label"), it is returning the text as "text 1" and not the displayed text in sub menu.

Is there a way to achieve this?
I was thinking of getting the submeu item object and to try getvisible text, but having trouble to get the object of that.

When I use .childobjects for winmenu, it is not returning any childs.

Please advise.

Regards
Reply all
Reply to author
Forward
0 new messages