09-14-2009, 11:37 PM
My QTP script looks like this:
On Error Goto ERR_Handler
ERR_Handler:
msgbox "error"
I have not recorded anything. I just want to try to use the above error handling logic. But I get syntax error for the first line - On Error Goto ERR_Handler
I don't understand why. any ideas?
On Error Goto ERR_Handler
ERR_Handler:
msgbox "error"
I have not recorded anything. I just want to try to use the above error handling logic. But I get syntax error for the first line - On Error Goto ERR_Handler
I don't understand why. any ideas?