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 |
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
Explain about merging of two repositories?
Does QTP run in any environment?
What are the main features we have to compulsory test by using qtp in an web based application
Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.
How do Parameterization and Data-Driving relate to each other in QTP?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Is it possible to change the extension of Shared object repository?
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
synchronization, wait,wait Property?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file