Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
closing browser at end
#4
Solved: 11 Years, 8 Months, 3 Weeks ago
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.
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.
Reply


Messages In This Thread
closing browser at end - by bistritapcv - 04-11-2013, 04:23 AM
RE: closing browser at end - by basanth27 - 04-11-2013, 06:54 AM
RE: closing browser at end - by bistritapcv - 04-11-2013, 08:03 PM
RE: closing browser at end - by basanth27 - 04-12-2013, 07:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,709 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
  Expected End statement error Lavanya N 2 5,388 07-27-2015, 01:52 PM
Last Post: Lavanya N
  recovery scenario for closing a message box itself ashima 0 2,331 12-26-2013, 11:10 AM
Last Post: ashima
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,503 12-20-2012, 12:20 AM
Last Post: adityapant27
  closing the browser diya 3 3,862 11-27-2012, 10:14 PM
Last Post: diya

Forum Jump:


Users browsing this thread: