my AUT is a Windows desktop application using MFC and lots of handwritten legacy code. When I click "File" in the menu bar, a drop-down menu opens with the stuff that you will usually find in a "File" menu.
My automated test should verify the position of the menu drop-down. Using the "instant tracking" feature, I was able to capture its RanorexPath:
Code: Select all
/form[@title='']/?/?/toolbar[@accessiblename='']
Code: Select all
/form[@title='']/?/?/toolbar[@accessiblename='']/menuitem[@accessiblename>'Open']/..
Cheers
Hans