Can't i use ChildIndex to identify a object
Posted: Wed Jul 29, 2009 4:15 am
Environment:Ranorex2.1.2.6480,Win7,AdobeReader
Step: 1. Open Aodbe
2. Select and click Help menu
3. Select About and click
My job will across national languages ,therefore ,i can't use text to identify a menuitem,suck like 'About'. On Adobe Reader menu ,these objects has no controlid or controlname, I want to click the menuitem by its childindex. childindex of Help is 6, childindex of About is 2. When i use childindex , script will fail unless i use AccessibleName or text.
On diffrient languages, shortcut key may be diffrient,like Ctrl+O on US, Ctrol+?? on Br/GR/IT
Can't i use childindex to click a menu?
Step: 1. Open Aodbe
2. Select and click Help menu
3. Select About and click
My job will across national languages ,therefore ,i can't use text to identify a menuitem,suck like 'About'. On Adobe Reader menu ,these objects has no controlid or controlname, I want to click the menuitem by its childindex. childindex of Help is 6, childindex of About is 2. When i use childindex , script will fail unless i use AccessibleName or text.
On diffrient languages, shortcut key may be diffrient,like Ctrl+O on US, Ctrol+?? on Br/GR/IT
Can't i use childindex to click a menu?