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 |
Think and Reply.. can we parameterize radio buttons, check boxes? as in flight web site on flight preference page, choosing different flight produces trouble if from port and to port been parameterize, and runs. Try it by own you will get the error.
how we connect oracle or sql data server database to qtp.
How to recognise the webelement and verifying that webelement is enabled?
w is configaration management
Types of properties that Quick Test learns while recording?
what is TOM in qtp?
.how will you load the object during runtime
how will you check how many members visited the website www.infosys.com?
what is clean sweep?
Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne
What is the difference between systemUtil and invoke method..?
What is the purpose of loading qtp add-ins?