Forum Discussion

nish_b's avatar
nish_b
Contributor
5 years ago
Solved

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!

  • 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"

1 Reply

  • 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"