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 |
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.
Tell me Three major differences between QTP & Winrunner?
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
Explain the check points in QTP?
Is it possible to split an action? How?
I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?
How to handle dynamic objects in quicktest professional (qtp)?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
How many types of recording facility are available in quicktest professional (qtp)?
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application...
Can we check environment variable value without existing of environment variable