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
Combo Box Items
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Combo Box Items
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
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