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


Please Help Members By Posting Answers For Below Questions

what is output value in QTP and how it can be used in automation testing

1440


What is a data driven test in qtp?

591


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1424


what r the main attributes of test automation?

1482


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..?

1422






write the vb script for call to new action in qtp?

1863


How can we conduct U-I Testing by using QTP??????

1433


Why qtp always start action1 and does not start action?

607


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1640


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)

1530


How many types of recording modes in qtp?

592


What are the different types of action?

560


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2427


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.

1393


How to connect to a database?

581