Page 1 of 1

Combo Box Items

Posted: Thu Oct 01, 2009 11:07 am
by atom
Hiya

We have a problem using the ITEMS property on a Win32 combo box
The collection only seems to contain the currently selected item, and not all available items

Using the spy tool with instant tracking, the ComboLBox is reported as:
/list[@controlid='1000']
i.e. Not a descendant of the combo box but on the top level

Is this a bug?

Regards
Clayton

Re: Combo Box Items

Posted: Thu Oct 01, 2009 3:33 pm
by Support Team
Hi atom,
the items in the Items property only appear if you open the combo box list otherwise the ListItem`s doesn`t exist. So during accessing the combo box items you should assure that the ComboBox list is opened.

You are right, the comboBox appears on the top level but also beneath the ComboBox as Ranorex.List

Regards,
Christian
Ranorex Support Team