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
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
how to find that tools work well with your existing system?
what is the advantages and disadvantages of using functions instead of re usable actions
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
wht type of User defined functions or Java Releated functions do we write in VB scripting
any body can you help me what is the script to automate an comand promt
What is a reusable action?
Are Shared ORs read-only?
What is the difference between byref and byval in qtp?
What is the short cut keys for the following?
Explain the checkpoint in qtp?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
please post the interview questions for QA position in FACTSET
How QA specialist can identify when programmatic descriptions are useful?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations