Micro Focus QTP (UFT) Forums
'Close the Browser when the test closes' - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: 'Close the Browser when the test closes' (/Thread-Close-the-Browser-when-the-test-closes)



'Close the Browser when the test closes' - Sakura - 08-25-2008

Hi everyone,
I am a newbie to QTP... I just wanted to know the significance of the checkbox 'Close the Browser when the test closes' on the Record dialog.
When I check this checkbox and record and subsequently, stop the recording, the browser window is open. If I do not check this, the effect is the same. Please let me know.

Thx.


RE: 'Close the Browser when the test closes' - QADBA - 08-25-2008

If you try following:
Open a new test, start recording and click on checkbox 'Close the Browser when the test closes', then stop recording. Close the test (exit program or open a new test,... etc.)

Open a new test, start recording without to check 'Close the Browser when the test closes', then stop recording. Close the test (exit program or open a new test,... etc.)

In first case the browser will be closed, in second case the browser remains open. Wink


RE: 'Close the Browser when the test closes' - Sakura - 08-26-2008

oh ok, got it. I thought 'Close the test' means stop the recording. Now I know the hidden (or maybe quite obvious) truth.. thanks a ton!


RE: 'Close the Browser when the test closes' - narayya - 08-26-2008

Hi,
When you change any of the Run setting options, Unless you restart the QTP setting changes won't come into picture.And this option will close the browser or application automatically, while you are closing the QTP test which runs the application. This option basically useful when you are running multiple applications through single test and no need of closes all by scripting.