Micro Focus QTP (UFT) Forums
IE closing automatically when QTP finishes a test. Why? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: IE closing automatically when QTP finishes a test. Why? (/Thread-IE-closing-automatically-when-QTP-finishes-a-test-Why)



IE closing automatically when QTP finishes a test. Why? - Ajit.2k6 - 03-01-2010

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


RE: IE closing automatically when QTP finishes a test. Why? - Saket - 03-02-2010

There must be an statement to close the browser at the end of your script.
comment that statement in expert view and try.


RE: IE closing automatically when QTP finishes a test. Why? - sreekanth chilam - 03-02-2010

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.


RE: IE closing automatically when QTP finishes a test. Why? - sara - 03-02-2010

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.


RE: IE closing automatically when QTP finishes a test. Why? - sreekanth chilam - 03-03-2010

whats your QTP & IE version?


RE: IE closing automatically when QTP finishes a test. Why? - Ajit.2k6 - 03-04-2010

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


RE: IE closing automatically when QTP finishes a test. Why? - Saket - 03-04-2010

Hi Ajit,

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


RE: IE closing automatically when QTP finishes a test. Why? - Ajit.2k6 - 03-04-2010

Thanks Saket