Selecting an Item from Combobox

Ask general questions here.
Anbu
Posts: 15
Joined: Tue Feb 14, 2012 10:28 am

Selecting an Item from Combobox

Post by Anbu » Wed Mar 07, 2012 3:49 pm

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

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Selecting an Item from Combobox

Post by Ciege » Wed Mar 07, 2012 4:11 pm

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?
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...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Selecting an Item from Combobox

Post by Support Team » Wed Mar 07, 2012 4:43 pm

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
.
Image