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 |
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
1.what is the extension of action template? 2.what are the strengths and weaknesses of Keyword driven framework? 3.how qtp identify runtime objects?
1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"
What is the extension of script and object repositary files?
Discuss QTP Environment.
If you use low level recording,what objects will be recorded in Object Repository and what properties?
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
what is testing process with QTP in organization
Is it possible to return multiple values from a function..? Then how..?
Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??
When using descriptive programming?