using descriptive programming how to close all opend browsers?
Answer Posted / ravi
Set b=Description.Create
b("micclass").value="Browser"
Set obj=Desktop.ChildObjects(b)
For i=0 to obj.count-1
c=obj(i).GetROProperty("title")
msgbox " Closing.. " & c
obj(i).Close
Next
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is recovery scenario manager? When you go for recovery scenario manager?
Why we load add-ins in qtp?
What are the disadvantages of recording test cases in qtp?
How you are developing the script? Using record and play back or manual?
How to test background color and dynamic images during run time can you put the check point for moving objects?
Tell me about your project? please help me how to tell about insurance project
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
Explain the check points in quicktest professional?
what is meant by Implicit and explicit requirements?
write script for bitmap image?
What are the types of environment variables in qtp?
Tell me about qtp?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
Define object spy ?