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
Explain about business process component? types and usage?
What is checkpoints for quicktest professional?
when u script reveiwing in which area u more concentrates?
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
how to test load test and block box testing an a web based application pls give ans briefly
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
What is the use of text output value in quicktest professional (qtp)?
Is it possible to split an action? How?
How u will do versioning in QTP?
QTP script is not working on other's machine..
Explain the qtp test phases.
Where you are storing your script?
Did QTP prove efficient for your project? Yes or No, explain?
How does qtp identify the object in the application?
What is throw Object?