mmarquee / ui-automation

Java wrapper for ms-uiautomation
https://mmarquee.github.io/ui-automation/
Apache License 2.0
111 stars 54 forks source link

How to select a Combo Box under a List Control with Multiple Columns for MFC application. #106

Open Shashank5c opened 5 years ago

Shashank5c commented 5 years ago

Hi, I'm working on Automation for a MFC application where I have to select a value in ComboBox which is included in a List Control with multiple Columns.

Sample application looks like in the attached image. image

I'm using following code: List myListControl = myWindow.getList("MyListName"); java.util.List myListItems = myListControl .getItems();

Above code is returning only items for First Column (i.e : 1,2,3, and 4) . I'm not able to access combo box present in Second Column. Could you please let me know how can I do the same?

Thanks Shashank