using descriptive programming how to close all opend browsers?

Answer Posted / amarendra kothuru

Do While(True)
If Not Browser("index:=0").Exist(0) Then
Exit Do
End If
Browser("index:=0").Close
Loop

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between data driver & data driven and driver script?

2135


what is error and fault in terms of software quality?

1455


What is the basic concept of quicktest professional (qtp)?

574


What is synchronization point in QTP?

670


Hoe can we do retesting using functions please give the code for it using login page

1555






Explain in brief about the quicktest professional (qtp) automation object model?

561


Did the scripts need lot of maintenance? If yes, why?

3294


what are all the fileds present in object repository?

1555


How to run a test using quicktest professional?

525


what is the difference between built-i function and In-built function?

1629


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1417


What are the various automation frameworks available in qtp?

501


How can you exit from an action?

609


What is the difference between call to existing action and copy of an action?

599


Tell me about qtp?

538