1. How to pass parameters to application while invoking application by using "Systemutil.run" method
systemutil.run (filename,[parameters],[path],[operation],[mode])
systemutil.run (filename,[parameters],[path],[operation],[mode])
Doubts on Systemutil
|
1. How to pass parameters to application while invoking application by using "Systemutil.run" method
systemutil.run (filename,[parameters],[path],[operation],[mode])
I didnt understand. you want parameters to be passed to application or to systemutil.run ?
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Hi ,
Consider these below examples - it may give you a better perception: Example 1: Code: SystemUtil.Run "C:\WINDOWS\system32\cmd.exe","","C:\","open" Example 2: Code: SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open" Example 3 : Code: SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","Y:\","open"
syntax: systemutil.Run file, [params], [dir], [op], [mode]
[params]: Optional. A String value. If the specified file argument is an executable file, use the params argument to specify any parameters to be passed to the application. I found this in QTP help, please explain this....! and tell how it works...?
Thank you sreekanth,
Every thing is fine... but you left one blank after providing a path of .exe file ""..... I am asking about that [params].. in help they said that you can pass parameters to your executable file from here... How can we pass that parameters...? |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
![]() |
SystemUtil.run script is not generating while recording in qtp 9.5..pls help me | senthil.kumar | 0 | 2,654 |
01-24-2013, 02:09 PM Last Post: senthil.kumar |
Syntax of SystemUtil.Run | vijay.gupta | 6 | 78,621 |
08-21-2012, 04:57 PM Last Post: vinod123 |
|
![]() |
checking result of systemUtil.run | bo.moon | 5 | 6,079 |
12-08-2010, 01:18 AM Last Post: duggisrinivasarao |
SystemUtil - Application is not getting Visible | spsraj | 7 | 5,462 |
07-15-2010, 03:35 PM Last Post: spsraj |
|
How to execute Chunk of my test script on new window using SystemUtil.Run function | umer830 | 3 | 3,957 |
01-14-2010, 04:51 AM Last Post: umer830 |