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 to handle the exceptions using the recovery scenario manager in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
What are the various automation frameworks available in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What are the types of data tables in qtp?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Where we can use the analog mode and where we can use the low – level mode?
How to modify object property in qtp ?
What is reusable action?
How can you handle exceptions in qtp?
Can you write a script to check if the folder exists or not?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
regular expression in qtp standar check point for months from accepting months from january to december only
What is the recovery scenario in qtp?