Forum Discussion

jsr_78's avatar
jsr_78
Occasional Contributor
13 years ago

Error handling in Testcomplete

Hi,



I was trying to do error handling in test complete but it is showing syntax error. I am using normal vb type of error handling



please see below

 On Error goto "xyz" 




xyz:  

 If err.number<>0 then

  log.Message("aaaa")

 End if 



but the above code is not working. Can u please tell me how to do error handling in TC?