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 / nihar ranjan sethy
set odesc=description.create
odesc("micclass").value="browser"
set x=desktop.childobjects(odesc)
for i=10 to 2 step-1
x(i).close
next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Have you used xml check point in your project?
explain abt dyanamic changing object with example?
please post the interview questions for QA position in FACTSET
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
To which environments does quicktest professional (qtp) supports?
What is the difference in the global and action sheet in qtp?
What do you to script when objects are removed from application?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
When do go for loop condition in test?
Tell me about your project? please help me how to tell about insurance project
can u please explain what is the exact difference between qtp8.2 and 9.0
What is the synchronization point in qtp?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
what is supply chain management?