Page 1 of 1

Selecting an Item from Combobox

Posted: Wed Mar 07, 2012 3:49 pm
by Anbu
Hi All,

We are trying to select an item from a combo box using vb.net code. However, the select (using item index, item etc.) was not successful. Eeven if we are trying to set the item by entering as a text, it doesnt produce any effect( such as button enables after selecting an item from the combo box). Please could you share your thoughts/workaroud.

Thanks
Anbu K

Re: Selecting an Item from Combobox

Posted: Wed Mar 07, 2012 4:11 pm
by Ciege
Could you post the code snippet you are using and a Ranorex Snapshot of the element?
Are you opening the combobox before trying to select the item?
Are you clicking the item in question or just setting the attribute of the selected index?

Re: Selecting an Item from Combobox

Posted: Wed Mar 07, 2012 4:43 pm
by Support Team
Hi,

Would it be possible to post us a Ranorex Snapshot of your combobox?
How to create a Ranorex Snapshot

Please also take a look to following post
http://www.ranorex.com/forum/selecting- ... t1346.html

Regards,
Peter
Ranorex Team