Hi
I currently have as my last step in qtp
Browser("aALIWeb").close
this will close the browser in qtp ... IF the test ends normally.
But, I have the setting that upon error, QTP should stop the run.
The run gets stopped in the middle of the test so the close is never
executed.
How can I have the browser be closed whether the test ends normally or by error? I need it closed so for the next test I can open a fresh copy and not have the state of the web page be wherever it left off before.
I currently have as my last step in qtp
Browser("aALIWeb").close
this will close the browser in qtp ... IF the test ends normally.
But, I have the setting that upon error, QTP should stop the run.
The run gets stopped in the middle of the test so the close is never
executed.
How can I have the browser be closed whether the test ends normally or by error? I need it closed so for the next test I can open a fresh copy and not have the state of the web page be wherever it left off before.