Forum Discussion
12 Replies
- ioioioOccasional Contributor
If i use call tile.ComboBox.CComboBox_ShowDropDown(1) the list is drop downed but I don't know how can I select an item from it.
- djadhavRegular Contributor
IF the object has Visible and VisibleOnScreen both as false, that means a user cannot see the object. Hence clicking it does not mimic any user scenario. What exactly are you trying to test? Is it possible to attach some screenshots for better understanding?
- ioioioOccasional Contributor
I want to click on "..." button and select an option from the list.
- djadhavRegular Contributor
Since you mention that you are able to open the dropdown, you can use one of these 2 methods to select and item:
1) ComboBox_SelectItemData : https://msdn.microsoft.com/en-us/library/windows/desktop/bb856482(v=vs.85).aspx
2) ComboBox_SelectString : https://msdn.microsoft.com/en-us/library/windows/desktop/bb856483%28v=vs.85%29.aspx
Related Content
- 3 years agoramprabhus