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 vmodel?advantages and disadvantages of vmodel?
How to use parameterization in qtp?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
How to test the login page in different ways in automation testing and i need code?
How to find Operating system information using QTP script?
Explain step generator in qtp?
What is the registration process and examination fees?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
What is expert view and keyword view?
What is accessibility check point?
How to find array size in qtp?
Explain the concept of object repository & how qtp recognizes objects?
is there any addin for remedy user application
How can you handle exceptions in qtp?