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 |
Define Canvas view of UFT?
How we will execute(run) the scripts in qtp 8.2?
A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???
What is the diff between image and bitmap check point?
why we use sendkey method in qtp?
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!
Explain key word driven frame work?How to use in real time?
How to capture text from image to word
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test?