What is the difference between Systemutil.run and Navigate.
Answer Posted / kamakshya prasad
Go through the below script, u may get the better answer
SystemUtil.Run "iexplore.exe","www.google.com"
Browser("name:=Google").Navigate "http://www.cnn.com/"
Browser("name:=CNN.com - Breaking News,").Page
("title:=CNN.com - Breaking News,").Link
("name:=Health").Click
wait(10)
browser("name:=CNN.com - Breaking News,").Back
SystemUtil.Run : By using SystemUtil.Run we can run any
application from specified location. (as above
SystemUtil.Run "iexplore.exe","www.google.com")
2nd example: to run the flight reservation login window
SystemUtil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
Navigate : Open a specified URL in the browser
i.e object.Navigate "URL specified" and here the object is
the test object of type browser (as per above i.e Browser
("name:=Google").Navigate "http://www.cnn.com/")
It is very much important to know the difference between
SystemUtil.Run, Navigation and Invoke Application?????
Thanks
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Object repositories types, which and when to use?
What are the benefits of qtp?
How to create scenario selector
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
Write a QTP script to enter a keyword in to Google search engine?
what is supply chain management?
Where we use data driver in qtp?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What is an object repository?
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is the difference between run time object and test object?