What is the difference between Systemutil.run and Navigate.

Answers were Sorted based on User's Feedback



What is the difference between Systemutil.run and Navigate...

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

What is the difference between Systemutil.run and Navigate...

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

What is the difference between Systemutil.run and Navigate...

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

What is the difference between Systemutil.run and Navigate...

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

What is the difference between Systemutil.run and Navigate...

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

What is the difference between Systemutil.run and Navigate...

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

Post New Answer

More QTP Interview Questions

does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


Can you list some technologies that support qtp?

1 Answers  


What exactly is the difference among all the three recording modes.

5 Answers   Accenture,


what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface

4 Answers   Syntel,


How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely

3 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  


how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.

2 Answers   Accenture,


Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.

3 Answers  


Explain Checking XML....

1 Answers   Crea,


what is the Exact Meaning of Environment Variables?

10 Answers   AppLabs,


What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


Categories