What is the difference between Systemutil.run and Navigate.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / akbar
SystemUtil.Run will open any window based application from
a given location
Navigate will open web based application for a given URL
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / akbar
Correction:
SystemUtil.Run opens any kind of application window or web.
Navigate opens only web based application
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / chinna
hi ,
System utill.Run is the to open the direct url path ofhte
application .
Navigation -- u have to navigathe which application do u
check by using the objectrepositrey
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / akbar
The InvokeApplication method can open only executable files
and is used primarily for backward compatibility.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / suman
SystemUtil.Run opens any kind of application window or web.
Navigate opens only web based application
| Is This Answer Correct ? | 1 Yes | 0 No |
Waht is User interface and Integration Testing?
In Remote acess server how u run a test?
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
What are the views available in quicktest professional (qtp)?
How many ways we can parameterize data in QTP?
How to take screen shot of desktop by using vb script code or is there any method?
Explain about random testing of 500 test cases?
What is the limitations of BVA?
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
how to main tain the Old scripts in qtp?
Differenece betwen Project and product ? when company need project or product?