Forum Discussion
- NandeeshOccasional Contributor
Hi even i am not able to use "goto" statement of VB in "Test complete" tool.
I am trying the following code but encountering an run time error saying"Type miss match" at 4 th line .
pls tell me the syntax of GO TOsub demo
for i=1 to 10
if i<3 Then
Goto xyzElse
Log.Message(i)
end ifNext
label: xyz
Log.Message("Out of loop now")
end sub
Hi Savitri,
TestComplete uses the standard Microsoft VBScript engine. You can find a lot of workaround and tips on this question if you google for continue in VBScript, for example.
Please let me know if you find an appropriate solution.
The GoTo statement is not supported by Microsoft VBScript as well.Hi even i am not able to use "goto" statement of VB in "Test complete" tool.
Related Content
- 2 years ago
Recent Discussions
- 3 hours ago
- 10 hours ago
Working with Visual Test
Solved2 days ago