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
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
how will you check how many members visited the website www.infosys.com?
Where to use function or action?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
How to test results for qtp ?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
How software automation specialist enter steps in the Expert View?
what is the difference between IE & Netscape in web testing on a log in page
What is the use of an object spy tool in qtp?
Define Error Pane of UFT?
Hi,All How to create a link in excel sheet using qtp
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
can the activities of test case design be automated?
What environment does qtp run in?
what frame work you are following?