Ask a Question

wItemList returns list separator not caption name

bkeefe
Not applicable

wItemList returns list separator not caption name

I am trying to retrieve the values of a combobox but all I get returned from wItemList is the separator values, not the actual captions.  Control is System.Windows.Controls.ComboBox, WPFObject.  WPF application running in TC 8.0 with all plug-ins installed.  I am using FindChild to locate the combobox and then wItemList to get the names of the contents.  The right number is returned but I cant get the name, wItemList displays as |||||| through the Object Spy.

Thanks
1 REPLY 1
YMinaev
Staff

Hi,



Try using native properties of your control to access its items. The approach is the same you'd use inside your application to access them.
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: