how to invoke the web application through script in qtp

Answer Posted / sandipgami84

Hi..

u can call below function, and Pass your URL.

Public Function OpenInternetExplorer(URL)
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
If URL <> "" Then
IE.Navigate Trim(URL)
Else
IE.Navigate "about:blank"
ExitTest
End If
Environment.Value("HWND") = IE.HWND
End Function

Is This Answer Correct ?    7 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of qtp?

575


What is CMMP and CMMH?

691


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1496


What is meant by Output Value in UFT?

556


What are the types of object repositories? Which one is you are using?

627






What is quicktest professional window?

553


Explain how you can find length of array in qtp?

596


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1695


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1621


Shall we add Local Repository to shared object repository,if yes,how we add

5672


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1673


Explain the concept of how quicktest professional (qtp) identifies object?

571


Through array we can execute the testcase how ? give me example

1393


How to break the object spy ?

658


Explain the benefits of quick test pro(qtp)?

566