I like to run several QTP tests automatically startet from TestDirector.Unfortunately our Web applications open multiple browser windows which are needed during testing.
Issue: If QTP switches from a test to another test (automatically done via TestDirector) it does not close all opened browser windows automatically although I have activated this option in the Test Settings within QTP.
So my questions:
- Is there a way to enforce QTP to close ALL opened browser windows?
- Is there a chance to detect within QTP & VBScript if QTP has been started by Testdirector?
- Could anyone provide me with a VBScript which detect all Browser Windows and close these at the end of the test?
Re: Close all openend Browsers Windows on Exiting QTP
This is ok so far, but unfortunately I have also the Testdirector open and qwith this script example it is going to be closed too. In case of automatisation TD process is getting stopped and also my automated tests.
So how could I change the descriptive identification part so that it would not matach to a specific browser title?