Ask a Question

Execute a script routine irrespective of the test result

SOLVED
nish_b
Contributor

Execute a script routine irrespective of the test result

Hi,

 

How to run a routine irrespective of whether the test has passed or failed?

For example, I have routine named tearoff() which will log off the application either after the test executes successfully or as soon as there is a failure.

How do I configure this? Please help! Thanks in advance!

1 REPLY 1
DWalsh
Moderator

When you run a script if you configure Default Project Properties >Playback and in the "Error handling" section you can set on error to be "Continue running"

cancel
Showing results for 
Search instead for 
Did you mean: