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
what is output value in QTP and how it can be used in automation testing
What is a data driven test in qtp?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
what r the main attributes of test automation?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
write the vb script for call to new action in qtp?
How can we conduct U-I Testing by using QTP??????
Why qtp always start action1 and does not start action?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
How many types of recording modes in qtp?
What are the different types of action?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How to connect to a database?