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 |
Explain actions in qtp ?
In Webtable New rows getting added, we have select the name as Sandeep ,If name column is sandeep then need to check the checkbox ,we don't know the rows and columns ,Can anyone please tell me the answer.
3 Answers Broadridge, Cigniti Technologies, HCL,
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
What are the disadvantages of recording test cases in qtp?
What are benefits of qtp?
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.
What test cases can you automate using QTP?
What is keyword driven framework, what is "key" in It.
Give me some real time point of way where exactly we can conduct audits?
how can we handle errors other than using recovery scenerios in qtp
Discuss quicktest professional environment?
how much space occupies in object respository by default?