Combo box Dropdown value selection issue

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 12
Joined: Thu Jan 08, 2015 11:10 am

Combo box Dropdown value selection issue

Post by deka » Tue Jan 27, 2015 2:36 pm


I m trying to fetch values and select an item in a dropw donw list box with a checkbox inside it. Its a desktop applicaiton. Please see attachment for details.

I could be able to fetched the items from the combo list but couldnot able to do so to select an item(checkbox).

below code is used:

int t= repo.SLATESTAGE3ANewScreen.MultiSelUserDropDown.Items.Count;
string name="";

for (int i=0; i<t; i++ )
Any help will be appriciate.


You do not have the required permissions to view the files attached to this post.

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

Re: Combo box Dropdown value selection issue

Post by Ciege » Tue Jan 27, 2015 5:26 pm

Does Ranorex identify the checkbox or just a ListItem?

Since Ranorex probably just identifies a ListItem you can click the ListItem at Location.CenterLeft, which *should* click the checkbox.

You could also code your own solution to check for the length of the LIstItem, determine the approximate number of pixels from list you checkbox lives, then click at that location.
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!