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 / raj

syntax: systemutil.Run "Browser", "ur web url"

systemutil.Run "iexplore.exe", "www.yahoo.com"

Is This Answer Correct ?    52 Yes 7 No

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

Answer / sreekanth

Initially in check the web addin in add-in manager window &
in Record & Run Settings,choose Web tab.

Then...give the following script & see...

systemutil.Run "your appl url"

ex:
systemutil.Run "yahoomail.com"

Is This Answer Correct ?    25 Yes 12 No

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

Answer / widewaythink

If you are using Windows 7, Use this command to open the
application through QTP:

Systemutil.Run "C:\Program Files\xx....\flight3a.exe"

You can record and run the application without any crash error.

Is This Answer Correct ?    8 Yes 3 No

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

Answer / menaka n

Invokeapplication"C:\Program Files\Internet
Explorer\IEXPLORE.EXE"

Is This Answer Correct ?    12 Yes 11 No

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

Answer / 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

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

Answer / satyanj

Browser("<Browser>").Navigate "<URL>".

Is This Answer Correct ?    5 Yes 12 No

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

Answer / ayush

invokeapplication " specify the path "

Is This Answer Correct ?    3 Yes 11 No

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

Answer / supriya

Use the Object reference Model of qtp
and you will find many ways there

Is This Answer Correct ?    3 Yes 12 No

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

Answer / sathi

do you write the script in web application go to qtp choose
on web page example yahoo or gmail and go to record ->click
on insert menu choose xml testing with page or link->chose
the hand icon on any menu->stop the record and ->run

web application scripting in qtp

SYNTAX:
BROWSER("BROWSER NAME").PAGE("PAGE
NAME").WEBXML("SETTINGS").CHECK CHECKPOINT("SETTINGS")

Is This Answer Correct ?    5 Yes 16 No

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

Answer / chandradeep

Systemutil.run "URL"



-------- It's Enough

Is This Answer Correct ?    7 Yes 22 No

Post New Answer

More QTP Interview Questions

How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


how will u do database testing in qtp? how will u do the same with descriptive programming?

1 Answers   Ordain Solutions,


Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...

1 Answers  


how do u prepare Test Environment ?

1 Answers  


Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?

2 Answers  






how can i replace any text from the qtp script with some anothere text

1 Answers   Livetek,


how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

0 Answers  


How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?

4 Answers   Infosys,


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


Can anybody send me the code to get the RO property of the active screen in QTP while running?

9 Answers  


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


Categories