Forum Discussion
Hi,
Following is the update that I have tried.
What is the Control?
‘CXTCheckListBox’.
What exactly happens when I tried the suggestion?
I tried the below script but ‘GetCheck(0)’ and SetCheck () is not a native method of TestComplete.
The error message I get is ‘Unable to find ‘GetCheck(0)’ method.’
Sub Test2
Dim <App>
Dim listBox
Set chart = Aliases.<App>
Set listBox = chart.dlgPreferencesProcedureFiltersDefault.page32770.page32770.ListBox
Checked = listBox.GetCheck(0)
If Then
Call listBox.SetCheck(0, 1)
Else
Call listBox.SetCheck(0, 0)
End If
End Sub
I have run the script in development environment with the Debug information with the following setting in TC:
1. "Micosoft VC++ open application support" is checked in Install extension.
2. The "Read debug information for statically linked libraries" is set.
Please let me know proper steps on the things that i have to ensure before running this script.
Do you want me to share the '.pdb' file.
Thanks
Related Content
- 11 months agoIrinaManea
- 6 months agonado
- 7 years agoJerryth
Recent Discussions
- 7 minutes agomayuridhar245
- 18 hours agoMW_Didata