Page 1 of 1

Ranorex spy cannot recognize drop down in flash

Posted: Fri Jul 10, 2009 8:04 pm
by lingzhou
For example, in the flash sample page here:
http://www.ranorex.com/web-testing-exam ... ample.html

The drop down box, in the repository, the path is "list[@displayname='instance58']/element/*/listitem[2]/text[@caption='label1']", but I cannot use Ranorex spy to track it. It either track that botton or the input box. Everytime, when I click and open the drop down box, then click track button on spy, the drop down close. If I use "ctrl+lWin" to track, it still can't track it right.

Any tip here. How can I let spy learn the flash drop down object.

Thanks,
Ling

Re: Ranorex spy cannot recognize drop down in flash

Posted: Fri Jul 10, 2009 9:13 pm
by Ciege
Not sure about flash but this is how to do it elsewhere (should be the same).

This is from the User Guide: Not the bold item below about pressing SCROLL LOCK to taka snapshot of the element so that you can traverse it in spy even though the drop down has closed.
Snap shots from popup windows, dropdown combo boxes or dropdown menus
For example you can create a snapshot from the menu popup of the calculator application using the shortcut key <SCROLL> in combination with the instant tracking feature of Ranorex Spy:

Open Ranorex Spy and activate 'Highlight Elements'.
Start Calculator application and open the 'Edit' menu.
Track the parent menu container window of the menu items. Track the popup frame by mousing over the edge of the window and pressing <CTRL>+<LWin>.
Press the <SCROLL> shortcut to cache the current element including their underlying items for Ranorex Spy.
Finally save the current view as snap shot.