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 many types of recording modes in qtp? Which will be used when?
How do we count the no of mails in Yahoo Inbox for a specified week?
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?
What is the purpose of loading qtp add-ins?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
How to replay a script in qtp?
Wat is the command used to add an object(properties) to an object repository?
How to handle the exceptions using recovery secnario manager in quicktest professional?
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?