Ask a Question

on Error GOto label

SOLVED
Ismail_BHIHI
New Contributor

on Error GOto label

The 3 Error Handling States in Visual Basic are :

- On Error Goto 0: works in test complete

-  On Error Resume: works in test complete

- On Error Goto [label]: Doesn't work in test complete ??????

 

My question is :

Why  On Error Goto [label]  doesn't work in test complete? 

 

Ismail_BHIHI_0-1613481721434.png

Thanks 

Ismail

2 REPLIES 2
HKosova
SmartBear Alumni (Retired)

TestComplete uses VBScript (not Visual Basic or VBA). VBScript only supports "On Error Resume Next" and "On Error Goto 0". See https://ss64.com/vb/onerror.html for details.


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

Thanks, it is clear now :).

cancel
Showing results for 
Search instead for 
Did you mean: