several browsers opened. write QTP script to close all browsers except gmail.
Answer / 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 |
Why we load add-ins in qtp?
what version of test director supports the QTP? does testdirector supports the QTP9.0?
How to send QTP scripts to our colleagues?
How can we add regular expression for date field (dd/mon/yyyy)?
who will distribute the project modules for testing in testing team ?
Have you used xml check point in your project?
How QTP recognizes Objects in AUT?
How many types of actions are there in quicktest professional?
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large
example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?
How to use library files in QTP? how we can call these files in to script?
What is the limitation to XML Checkpoints?