if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?
Answer Posted / sandip
Option Explicit
Dim ObjBrow,ObjName,ObjBrowName
Set ObjBrow = Description.Create()
ObjBrow(micClass).values = "Browser"
ObjName = Desktop.ChildObject(ObjBrow)
msgbox = ObjName.count
for i = 0 to ObjName.count
ObjBrowName = ObjName(i).getROproperty("Name")
msgbox(ObjBrowName)
ObjName(i).close
Next
Thanks,
Sandip Gami,
Cell No: 09986645937
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How can you send user defined messages to test report?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Which recording modes need more memory?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
What are the types of properties that quick test learns while recording?
How will internal and external links be validated and updated? how often?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
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?
what is actually contain test report? can anybody post the test report
What are the factors on which script execution time is dependent?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
How to use Environment parameterization? Explain with an example.
To which environments does quicktest professional (qtp) supports?
What is the script for database check point, bitmapchek point, regular expression ?