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 / shankar
set brow=description.create
brow("micclass").value="browser"
set brows=Desctop.childobjects(brow)
for i=0 to brows.counts-1
browser(brow).close
please reffer this and if it is wrong give me clarification.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is an optional step in qtp ?
What are the recording modes in qtp?
in a web page How to check and display a particular word from a paragraph?
what testplan contents and what test strategy contents,what is the diff b/w them
What are benefits of qtp?
Will down time for server and content maintenance/upgrades be allowed? how much?
What are the five challenges you faced in QTP?
What is 'sleep' in sync point?
How to use the object spy in quicktest professional 8.0 version?
How many types of run modes are there in qtp?
How are actions and functions different in QTP?
Discuss the QTP Environment?
Explain different recording modes?
diff between qtp versions from 8.5
How to creating an output value using quicktest professional (qtp)?