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 |
why should we give deliver good quality software?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is Step generator in qtp? wt is the use? can u any body explain me? plz
What is the difference between QTP 8.2 and QTP 9.2 ?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
In qtp,how to interact tool & application build?
How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......
if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks
what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester?
Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.