QuickTest Professional (QTP) Question:
Download Job Interview Questions and Answers PDF
How to open any application during Scripting?
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 )
(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 Question | Next Question |
How to covert a String to an integer? | How to retrieve the property of an object? |