How to Close all browsers in reverse order.
Answer Posted / suresh
Set oBrowser = Description.Create
oBrowser("micclass").value="Browser"
Set oAllObjects = Desktop.ChildObjects(oBrowser)
msgbox oAllObjects.count
For i = 0 to oAllObjects.count-1
Browser("CreationTime:=" & i).close
Next
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is review
Suggest and Define a solution for an application whose objects are not recognized by UFT?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
When should I use smart identification?
What does it mean when a check point is in red color? What do you do?
Object repositories types, which and when to use?
What is QTP testing process?
What is Port testing. Whhen will you perform?
Explain calling sub procedure.
how do i know how to use tools
How you calling actions in qtp?
Where to use Property Let, Property Get, Property Set in UFT
what is vmodel?advantages and disadvantages of vmodel?
Name the different types of recording modes?