Waht is diff between SystemUtil.Run and invokeapplication
Answers were Sorted based on User's Feedback
Answer / firoz basha shaik
Invoke is used to exeecute an .exe file but by using
systemutil.run we can open both .exe file as well as
browser fles.
invokeapplication "c:\IE\Iexplore.exe"
SystemUtil.Run "c:\IE\Iexplore.exe", "www.yahoo.com"
I think i am right. Please correct If I am wrong.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / ravi_kanakam
The invokeapplicaton method can invoke only an executable
application(file with EXE extenstion)
The systemutil.run method can invoke any application.
For example
systemutil.run "c:\testdata.txt"
invokeapplication "c:\diskcleaner.exe"
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / sunil kumar.m
Invoke application is used to invoke any .exe file, where as
SystemUtil.Run works with any system utilities like
“Iexplore” apart from .exe file
for more details logon to:
http://ssofttesting.blogspot.com
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ram
by using invoke application we can open only exe file
ex->invokeapplication"notepad.exe"
by using SystemUtil.Run we can open any widows and web
application and .exe file
ex->systemutil.run"www.yahoomail.com"
Is This Answer Correct ? | 0 Yes | 0 No |
How to use transactions in qtp?
What are the methods used in UFT to handle exceptions or run-time errors?
Why is action split used by qtp?
How to capture the Check point Value into a variable?
what is the difference between DP and keyword driven framework?
Can any suggest me what is exposure testing?
How to add Dynamic Objects to Object repository?
On what document base Descriptive programming is written if build is not yet ready ?
images are dynamically changes how to compare two images with out using the bitmap
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com