several browsers opened. write QTP script to close all browsers except gmail.
Answer Posted / puspita
Dim d
Set d=Description.Create
d("micclass").value="Browser"
Set a=Desktop.ChildObjects(d)
For i=0 to a.count-1
s=a(i).GetROProperty("title")
If instr(1,s,"Gmail")=0 Then
a(i).Close
End If
Next
Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
What are the trigger events in qtp?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Can any body please tell me the steps of keyword driven framework of QTP.
Explain features of the latest version of qtp/ uft 12.1?
If I change the property value at runtime is it effect is object repository?
tell me QTP standards ?plz
What is the difference between run time object and test object?
What is action? How many types of actions are there in qtp?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
How to replay a script in qtp?
Hi, how can we check or avoid the memory leakage in QTP9.2?
How QTP support all types of applications (platforms)?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What VBScript operators, functions, and statements do you use in QuickTest Professional?