Unable to select value from dropdown list with popop render out of Object Tree
- 1 month ago
First - get the name mapping of this control,
Use either full name or alias name mapping for this control.Second - then perform object.ClickItem("2 X 4") to select the desired item shown in the list,
ClickItem("2 X 4")Where object is the name mapping of the control, and assuming "2 X 4" is the item to be selected. Note the list of items shown, might be a custom control, as combo control usually just has list of items. But in this instance, it's showing labels as well i.e. "Lumber Inventory" and "Sheet Inventory".
I suggest you try the example code, that I had originally provided (not using cboSelectWPF), to check the functionality of ClickItem() actually works for you. Also, since this is a WPF object, there may be a method that you can use, shown in the Methods tab.
FYI. Your alias name is way to long - refer to Name Mapping