How can we close all webbrowsers which are opened in out
desctop?

Answer Posted / syam

While Browser("CreationTime:=0").Exist
Browser("CreationTime:=0").Close
Wend

QTP Tip1: The first browser that opens receives the
value "CreationTime" = 0, the second browser
receives "CreationTime" = 1, and so on...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1608


How to use conditional loops in qtp ?

680


Generic function to search for the unique link in webtable and click on it

2595


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1759


Is it possible to change the values of analog recording?

686






Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1024


What is the use of ordinal identifier in qtp?

676


If I change the property value at runtime is it effect is object repository?

710


How do you configure QTP AND Test director?

1593


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1590


Which environments are supported by hp qtp?

675


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1539


What is checkpoints for quicktest professional?

651


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

675


Will down time for server and content maintenance/upgrades be allowed? how much?

710