Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IE closing automatically when QTP finishes a test. Why?
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi All,

I am new to this forum, i hope i am asking in a right way.

When qtp test finishes IE browser automatically close down.

Please let me know to how configure QTP so that browser would not close.

Thanks,

Ajit
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
There must be an statement to close the browser at the end of your script.
comment that statement in expert view and try.

Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Ajit,

Try as Saket suggested and if there is no Close statement then I would suggest you to check with the below way.

Navigate to Automation Menu > Recor & Run Settings > Web > check whether "Close the Browser when test closes" checkbox is selected. If it is selected then uncheck the checkbox & click "Apply" -> OK.
Now execute the test & check if browser is not closed when QTP finishes the test.
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,

I am facing the same problem and also getting error message like "browser can't be launched possibly url is wrong"
please let me know of any solution.
Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
whats your QTP & IE version?
Reply
#6
Solved: 10 Years, 8 Months, 3 Weeks ago
Reply: I have checked all of above "Close the Browser when test closes" is unchecked already. Actually it started happening suddenly, this use to work before.

I have QTP 9.2 and IE8
Reply
#7
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Ajit,

QTP 9.2 does not support IE8. you will need to upgrade QTP to version 10.0

Reply
#8
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks Saket
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14.03 getting closed automatically after invoking UFT 14.03 khwaja.abbas@gmail.com 1 1,089 07-24-2018, 02:44 PM
Last Post: Ankur
  QTP opens 2 browsers automatically without expectation hoangph 0 2,193 06-27-2012, 09:27 AM
Last Post: hoangph
  Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP godsown 0 5,939 09-29-2011, 04:55 PM
Last Post: godsown
  Submit defects automatically from QTP to QC PallaviD 0 3,656 06-24-2011, 03:31 AM
Last Post: PallaviD
  How to close QTP session automatically if any runtime error occurs Remesh Kumar R 1 4,708 01-14-2011, 07:32 PM
Last Post: amitspandey

Forum Jump:


Users browsing this thread: 1 Guest(s)