Forum Discussion
ioioio
9 years agoOccasional Contributor
I'm using Test Complete for desktop and VBScript (scripting language).
I can use call tile.Combobox.CComboBox_SelectString(Param1 as Integer, Param2 as Byte) as Integer
Can you give me an example how can I use it to select lets say the option "Reports" from the Combobox?
djadhav
9 years agoRegular Contributor
tile.Combobox.CComboBox_SelectString(0, "Reports")
- ioioio9 years agoOccasional Contributor
If I use tile.Combobox.CComboBox_SelectString(0, "Reports") I receive the following error "Type mismatch: 'tile.Combobox.CComboBox_SelectString'" ; Param1 is defined as Integer and Param2 is defined as Byte. I don't know what Param2 refers to.