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 |
How to attach a file to TD?
Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
.how will you load the object during runtime
what are the main differences between keyword driven frame work and data driven frame work?
in qtp wha t is synchronisatin pt,what is the maximam time out
The xls contain data. how to get number of columns form the sheet?
1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP
I installed QTP 9.5 on vista. Can someone please provide me the license key of the same. Thanks, Avi
How to retrieve value (data) from notepad using QTP ?
hi Action 1 and action2 if we save it in C:, what folders will be created explain plz
Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.