using descriptive programming how to close all opend browsers?

Answer Posted / moin

Public function closeBrowser()
On error resume next
Ipval=Environment("Ipval")
err.clear
Browser(Ipval).Close
If err.description<>"" Then
Reporter.ReportEvent micFail,"Wait",err.description
End If
End Function

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is there any addin for remedy user application

1742


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2151


what is meant by Implicit and explicit requirements?

3617


how to test load test and block box testing an a web based application pls give ans briefly

1352


How to use actions in qtp ?

587






Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

1735


how will you load the test cases in ddt?

1593


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

605


What is the difference between the design-time and run-time data tables?

552


How does qtp recognize objects in aut?

580


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1499


Explain in brief about the qtp automation object model (aom).

557


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1272


write script for bitmap image?

1534


how many maximum number of virtual users we can create?

1566