QuickTest Professional (QTP) Question:

Download Job Interview Questions and Answers PDF

How to open any application during Scripting?

QTP Interview Question
QTP Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How to covert a String to an integer?How to retrieve the property of an object?