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 |
How is test case write?
How to get line numbers in your editor in expert view?
What is an optional step in qtp ?
What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If
I want to learn QTP Online, where can I get quality training?
Please Explain The QTP real Testing process with steps.
Explain QTP Testing process ?
Types of properties that Quick Test learns while recording?
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
What is data driven testing in QTP?
Tell me the situations where we will use Data Driven?
Why we are selecting QTP for testing ?