How to close browser app if executing test from QC
I am having problem closing the browser application when executing the test from QC. I am using Window(hnwd).Minimize
. It executes fine when running from QTP app but from QC, it gives an error. Is it because it has two browser apps now. If so, how do I do this. Can someone please help?
Re: How to close browser app if executing test from QC
Sounds like this is caused by not explicitly using the Browser objects distinct properties, not the Minimize action itself.
Try grabbing all the object properties for that window and also for a QC browser, compare and find the unique object properties for your browser window that the QC browser does not have.
Do you open the browser as part of your script?
While I have been working for Businesses that are Vendor partners with HP, IBM and Microsoft, my opinions and advice is my own.
The solutions provided are either sourced from my own scripting libraries or from a quick Google Search.