What is/are the command/commands used to invoke other application from QTP
-
Run
-
Invoke Application
-
SytemUtil.Run
-
Both 1 & 2
-
Both 2 & 3
In QuickTest Professional (QTP/UFT), there are two main methods to invoke external applications: 'InvokeApplication' method and 'SystemUtil.Run' method. Both can launch other applications during test execution. Option E correctly identifies that both methods 2 (Invoke Application) and 3 (SystemUtil.Run) are valid commands. The 'Run' option A is not a complete or correct QTP command for this purpose.
In QTP/UFT, applications can be invoked in two distinct ways relevant here: via the tool's built-in "Application Invoking" / "Invoke Application" feature (configured in Record and Run Settings so QTP launches the AUT before recording/running), and via the scripting command SystemUtil.Run, which programmatically launches an executable from within a test script. 'Run' alone is too generic/not a specific QTP command, and 'Invoke Application' alone omits the equally valid scripting approach. Since both mechanisms are legitimately used to invoke applications, 'Both 2 & 3' is the correct combined answer.