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 = oAllObjects.count-1 to 0
Browser("CreationTime:=" & i).close
'msgbox (Browser("CreationTime:=" & i).GetROProperty
("Title"))
Next
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how can we do the frame work in qtp
why text area checkpoints cannot used for web applications
How to test login module with different username and password by using data driven testing in QTP?
On what document base Descriptive programming is written if build is not yet ready ?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
How can I check if a environment variable exist or not?
What are the views available in quicktest professional?
HOw to add the recovery file at runtime to the test file .
How to break the object spy ?
Hi All, How to Compare two strings character by character in QTP
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Explain the concept of how quicktest professional identifies object?
What is the significance of “action 0” in qtp?
Explain the Different types of QTP test assets and their extensions?
What is accessibility check point?