If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.
Answer Posted / mogal
While Browser("creationtime:=0").Exist(0)
Browser("creationtime:=0").Close
Wend
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
give me the code to save all messages of inbox of gmail into a folder and notepad
what is the difference btn risks & Therads in the Test plan documentation?
How do you configure QTP AND Test director?
Can we run test with out adding object in object repository? How it is possible?
Can we create user defined functions in qtp?
What is the differences between image check point and bit map check point?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
How many scripts did you have?
How to do call a output parameter from one action to another action??/
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
When Recovery scenario actually starts while testing the application?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
What are the different properties of an web object
Can we write winrunner language i.e TSL in QTP tool?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)