Hi,
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++ )
{
name=repo.SLATESTAGE3ANewScreen.MultiSelUserDropDown.Items.Text;
repo.SLATESTAGE3ANewScreen.MultiSelUserDropDown.Items.Select();
}
Any help will be appriciate.
Thanks.
deka
Combo box Dropdown value selection issue
Combo box Dropdown value selection issue
You do not have the required permissions to view the files attached to this post.
Re: Combo box Dropdown value selection issue
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.
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!
Ciege...
Ciege...