Forum Discussion
ioioio
Occasional Contributor
Using the command described, I receive the following message:
---------------------------
TestComplete
---------------------------
Microsoft VBScript runtime error.
Type mismatch: 'tile.Combobox.CComboBox_SelectString'
Error location:
Unit: "PS2\P1\Script\Unit4"
Line: 10 Column: 3.
---------------------------
OK
---------------------------
ioioio
8 years agoOccasional Contributor
The solution is to call CWnd_ShowWindow(1) before ClickItem(1) and the code looks like:
tile.ComboBox.CWnd_ShowWindow(1) 'Makes the Combobox visible -> Visible property = True
call tile.ComboBox.ClickItem("Settings") 'Selects the Settings option from the Conbobox
Related Content
- 3 years agoramprabhus