Ranorex spy cannot recognize drop down in flash

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 21
Joined: Fri Jul 10, 2009 7:49 pm

Ranorex spy cannot recognize drop down in flash

Post by lingzhou » Fri Jul 10, 2009 8:04 pm

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.


User avatar
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Ranorex spy cannot recognize drop down in flash

Post by Ciege » Fri Jul 10, 2009 9:13 pm

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.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!