How To Open Any Application During Scripting
We have 3 ways to open an application automatically.
1) Systemutil.run("Path of file")
2) Invokeapplication("Path of file")
3) set ws = createobject("wscript.shell")
ws.run "Path of file"
SystemUtil , object used to open and close applications and processes during a run session.(a) A SystemUtil.Run statement is automatically added to your test when you run an application from the Start menu or the Run dialog box while recording a testE.g : SystemUtil.Run "Notepad.exe" SystemUtil.CloseDescendentProcesses ( Closes all the processes opened by QTP )
2009-2016 downloadmela.com. All rights reserved.