how to invoke the web application through script in qtp

Answers were Sorted based on User's Feedback



how to invoke the web application through script in qtp..

Answer / neeraj chauhan

Hi this is neeraj, and i went through your query and the
solution is:


Systemutil.Run("iexplore")
Set vBrowser=Browser("Creationtime:=0")
vBrowser.navigate("Url of your application for example:
"gmail.com" ")

Description:

this is descriptive programming code, this code first will
open the "Internet Explorer" and then will put your given
"url" to the browser automatically.

Is This Answer Correct ?    18 Yes 2 No

how to invoke the web application through script in qtp..

Answer / venkat reddy

we have 2 ways in QTP to open a web application through the
script,
1)
systemutil.run("URL")
or
systemutil.run "iexplore.exe","URL"

2)
systemutil.run("iexplore")
set vbrowser=createobject("creationtome:=0")
vbrowser.navigate"URL"

Is This Answer Correct ?    12 Yes 2 No

how to invoke the web application through script in qtp..

Answer / niranjan

please use the following code"

url= "url name"
Set IE=CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate url

Is This Answer Correct ?    8 Yes 1 No

how to invoke the web application through script in qtp..

Answer / satyanarayana

Hi we can invoke the application in the following ways
1).systemutil.run"path of the application"
2).Invokeapplication"path of the application"

Is This Answer Correct ?    11 Yes 7 No

how to invoke the web application through script in qtp..

Answer / nik

hi
first you insert the path as below:
systemutil.run("path of the web application")

Is This Answer Correct ?    5 Yes 2 No

how to invoke the web application through script in qtp..

Answer / kapil bande

above methods are correct one more method is there we can
create IEexplore object and pass the URL.

set Browser =createobject("InternetExplorer")
Browser.visible =True

Is This Answer Correct ?    4 Yes 3 No

how to invoke the web application through script in qtp..

Answer / soni

The simple way is to use systemutil.Run ("Application path")
or go to Record Settings and in Web tab give the path.

Is This Answer Correct ?    1 Yes 4 No

how to invoke the web application through script in qtp..

Answer / shilpa reddy

Syntax:
system.util.run("path of the application")
this invokes any type of application.

Is This Answer Correct ?    8 Yes 12 No

Post New Answer

More QTP Interview Questions

Where to use function or action?

0 Answers  


How can i Save the snapshots in a specified folders using Scripting in QTP?

1 Answers  


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

0 Answers  


in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one

1 Answers   DigiTech, Infotech,


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  






when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

0 Answers  


How u call functions in QTP Function to calculate the length of characters in a word -

5 Answers  


Can you tell me QTP is support for GIS(Geography Information System) Based Software.

1 Answers  


Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  


How do know the number of browsers opened?

0 Answers  


what r the executing modes in QTP

2 Answers  


Why we are selecting QTP for testing ?

20 Answers   HP,


Categories