QuickTest Professional (QTP) Question:

How to open any application during Scripting?

Tweet Share WhatsApp

Answer:

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 test
E.g : SystemUtil.Run "Notepad.exe" SystemUtil.CloseDescendentProcesses ( Closes all the processes opened by QTP )

Download QTP PDF Read All 115 QTP Questions
Previous QuestionNext Question
How to covert a String to an integer?How to retrieve the property of an object?