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 / kaps
'Check if this is working
Dim TrueOrFalse
Do while("True")
TrueOrFalse = Browser("index:=0").Exist(2)
if(TrueOrFalse = "False") then
exit do
else
Browser("index:=0").close
end if
Loop
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
Explain how Does Run time data (Parameterization) is handled in QTP?
Can we create a qtp test from qc?
Can you list some technologies that support qtp?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
How to create runtime property for an object?
Can any body please tell me the steps of keyword driven framework of QTP.
What is the basic concept of quicktest professional?
What are the check points can be inserted without recording?
What is parameter in qtp?
Explain advantages and disadvantages of ddf?
What is checkpoints for qtp?
How to creating an output value using quicktest professional?
Which environments are supported by hp qtp?