when to use the command InvokeApplication and SystemUtil.Run - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions) +--- Thread: when to use the command InvokeApplication and SystemUtil.Run (/Thread-when-to-use-the-command-InvokeApplication-and-SystemUtil-Run) |
when to use the command InvokeApplication and SystemUtil.Run - srivaas.b - 12-20-2010 May I know when to use the command InvokeApplication and SystemUtil.Run RE: when to use the command InvokeApplication and SystemUtil.Run - bfakruddin - 12-23-2010 Invokeapplication "Path of .exe files" systemutil.run "path of exe file or url",[parameters],etc., check the syntax in QTP Here invokeapplication command is used to invoke only executable files. Systemutil.run is used to invoke browsers with desired url or executable files... and we can pass parameters to application with this command, we can handle invoked application position [maximised,active, inactive etc.,] with this command. go to QTP help... and try with different combinations on systemutil.run command. you'll get more RE: when to use the command InvokeApplication and SystemUtil.Run - Shubhangi - 12-24-2010 Invokeapplication is mostly used for backward compability below(QTP 6) Syntax : InvokeApplication("Full URL as Parameter") Systemutil.run Syntax : SystemUtil.Run ( FileName, Parameters, Path, Operation ) Note : When you specify an application to open using the Record and Run Settings dialog box, QuickTest does not add a SystemUtil.Run statement to your test. |