how to invoke the web application through script in qtp
Answers were Sorted based on User's Feedback
Answer / raj
syntax: systemutil.Run "Browser", "ur web url"
systemutil.Run "iexplore.exe", "www.yahoo.com"
| Is This Answer Correct ? | 52 Yes | 7 No |
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 |
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 |
Answer / menaka n
Invokeapplication"C:\Program Files\Internet
Explorer\IEXPLORE.EXE"
| Is This Answer Correct ? | 12 Yes | 11 No |
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 |
Answer / supriya
Use the Object reference Model of qtp
and you will find many ways there
| Is This Answer Correct ? | 3 Yes | 12 No |
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 |
Can we put more than one action in a single script???? yes or no.....
How to explain a banking project in interview as a test engineer???
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
What is iteration? How it is related to Test Results in QTP?
What is the difference between rational rose and QTP?
How should I get results when I run scripts in a Batch mode
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?
Which method do you use to retrieve data from the WebList object?
In QTP whether is it possible to call a function from one action to another action?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com