We have some dropdowns with more than a 100 possible selections in the dropdown (regions here). I have not found a way to be able to automate this yet.
I notice that the particular element is selected (example: Spam) from the dropdown. I see this in the UI of the recorder and the script.
However, the playback seems to choke on the navigation through that list. Scrolling with a mouse wheel does not work and neither does the 'page down' method on the scroll bar (like with http://www.ranorex.com/forum/cannot-rea ... t283.html). Another method that does not work is grabbing the scroll selection widget and moving up or down. I suspect this is the same on all vert scrolls and perhaps horiz scrolls too?
When I try using the arrow keys and hitting 'Enter' or clicking the entry this does not work either.
Any hints?
Jason
Recommended method for recording large drop down selection
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Well, using the RanorexRecorder Beta1 you might not be able to automate every scrollbar just by recording and replaying. You can try to edit the generated code, though.
In the 1.3 release all the methods you mentioned should work (except for the mouse wheel that is not supported by the RanorexRecorder and can only be automated using the RanorexCore libraries directly).
Alex
Ranorex Support Team
In the 1.3 release all the methods you mentioned should work (except for the mouse wheel that is not supported by the RanorexRecorder and can only be automated using the RanorexCore libraries directly).
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
The easiest way is to generate keyboard events and send them to the dropdown control.
So you need to search for the DrowDown control by its title or class name (FormFind function) and then send keys using the ControlSendKeys function (see the documentation at http://www.ranorex.com/Documentation/Py ... 83d713a0c3).
Alex
Ranorex Support Team
So you need to search for the DrowDown control by its title or class name (FormFind function) and then send keys using the ControlSendKeys function (see the documentation at http://www.ranorex.com/Documentation/Py ... 83d713a0c3).
Alex
Ranorex Support Team