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 |
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
If already everything is tested using White-Box testing, then what is the need of using Black box testing?
what is difference between normal mode and fast mode?
how will load the object during runtime?
What issues come up in test automation, and how do you manage them?
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example
write script for how to add function library in QTP
What are the different kinds of test steps?
what are pretesting activities
How to record right click of a context menu and click on the selection ?
I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.