+1 vote
How can I manage errors (catch errors) in a script..?
asked Nov 18, 2015 in QA Wizard Pro by nico (8,200 points)

1 Answer

+1 vote
Best answer

QA Wizard Pro does have great error trapping inside scripts that you can use.

Example:

TRY
     'Your Code (script lines) are in here.
CATCH
    'If the script fails, the Catch block runs to continue playback. 
    'However, the script will still fail.​
FINALLY
     'Closes the application and clears the context so a new one can be set.
     Script.CloseApp()
     Script.ClearContext()​
END TRY

 

answered Nov 18, 2015 by nico (8,200 points)
248 questions
262 answers
106 comments
2,047 users