I would like to close the browser completely before opening it when starting a test case. Is there a way I can tell Tosca to close a browser if it is open?
I would like to close the browser completely before opening it when starting a test case. Is there a way I can tell Tosca to close a browser if it is open?
You can use the Standard Module TBox Window Operation to check if a window exists.
Then you could use Toscas "If" function to check via the module if a window with a given name exists and if so, use the same module to close it.