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 do you create new test sets in td?
why you have standardized functions? plzzz guys with real time exp. do answer
how to download mercury qtp9.2 ny internet ?
What is ‘object spy’ and what is the function of object spy in qtp?
what is meant by Implicit and explicit requirements?
Define object spy ?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
Where you are storing your script?
What is the significance of “action 0” in qtp?
write the vb script for call to new action in qtp?
can u please explain what is the exact difference between qtp8.2 and 9.0
is it possible to add sheets to excel at runtime
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
In Remote acess server how u run a test?