Suppose there are 10 browsers opened on desktop. I want to
close all browsers except one browser in QTP. Can any one
give the code for this?
Answer Posted / vijay
While Browser("creationtime=0").exist(0)
Browser("creationtime=0").close
wend
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Key word driven framework
How many types of parameters are available in quicktest professional (qtp)?
Your roles and responsibilities and daily tasks? (As automation tester)
What are the different attributes used with regular expression?
What are the factors on which script execution time is dependent?
how to test load test and block box testing an a web based application pls give ans briefly
What are the 3 main stages involved in testing with qtp?
How to run a test using quicktest professional?
HOw to add the recovery file at runtime to the test file .
UFT 12.02 which ALM version will support
how do u plan test automation?
can i compare two databases using QTP ?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
How to use parameterization in qtp?
How many types of recording modes in qtp?