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
How do you send email with attachment from outlook using qtp ?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
what is profile tool?
How do Parameterization and Data-Driving relate to each other in QTP?
How is a Step generator used in UFT?
What is the difference between keyword view and expert view?
How to save your test using quicktest professional (qtp)?
Explain the concept of object repository?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
How many add-ins comes by default with quicktest professional?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Explain advantages and disadvantages of ddf?
Do you know how to connect database? Can you tell me the procedures?
explain structured testing? plz guys with exp. do answer
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?