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 the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to modify object property in qtp ?
How to run a test using quicktest professional?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
what is the difference between modular framework & datadriven framework
How can you write the scripts that operate on different objects depending on run-time information?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
How to change the priorities of the recovery scenario properties?
How many types of recording facility are available in quicktest professional?
What are the steps involved in recovery scenario wizard?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
What is the descriptive programming?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0