No it wouldnt. Here is what i meant,
First Line of code, before you do any action - Close all Open Browsers.
Second Line - Open your test browser.
This way, you will not close the current browser you have and it will ensure that the system is set to base state where everything starts clean.
No, It wouldnt. Here is what i meant,
1. Before you do anything, Close All the open browsers. This should be the first line of code.
2. Your subsequent lines should contain the test browser you intend to open.
Yes, This will after each test execution, will close the browser in action and open the new test browser.
In case if you know what is the possible error, then you could probably try the recovery scenario. But, It isint my good friend as it will slow down the test execution.
First Line of code, before you do any action - Close all Open Browsers.
Second Line - Open your test browser.
This way, you will not close the current browser you have and it will ensure that the system is set to base state where everything starts clean.
No, It wouldnt. Here is what i meant,
1. Before you do anything, Close All the open browsers. This should be the first line of code.
2. Your subsequent lines should contain the test browser you intend to open.
Yes, This will after each test execution, will close the browser in action and open the new test browser.
In case if you know what is the possible error, then you could probably try the recovery scenario. But, It isint my good friend as it will slow down the test execution.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.