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
Explain how Selenium is different from UFT?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
What are the different types of functions available in qtp and explain ?
What is the difference between analog and low level recording?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
How to analyzing test results using quicktest professional?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
To which environments does quicktest professional (qtp) supports?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Where we use data driver in qtp?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
What is an object repository?
Explain the concept of object repository and how QTP recognizes objects?
what is run-time data?
Explain the types of object repository?