How can we close all webbrowsers which are opened in out
desctop?
Answer Posted / chandrashekar reddy
there are 2 ways to close the all browsers in qtp
1) we can use while..... wend 2) we can use
description.create method
1) while Browser("index:=0").exist (1)
browser(index:=0).close
wend
2) set ab=description.create
ab("micclass").value="Browser"
set obj=Desktop.childobjects(ab)
b=obj.count
msgbox b
for i= 0 to b-1
names=obj(i).getroproperty("name")
msgbox name
obj(i).close
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we create a qtp test from qc?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Explain the features of quick test pro(qtp)?
Write a QTP script to enter a keyword in to Google search engine?
who QTP recognizes the object stored in object repository?
How the exception handling can be done using quicktest professional (qtp)?
What is Test Fusion Report in QTP?
Hi ,Can any one pleas explain how to test splash objects using QTP?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
what is keyword driven testing in qtp?n how is it useful?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Explain different checkpoints in qtp.
what is test scheduleling?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?