Multiple choice technology testing

Using which exception is handled in QTP

  1. Recovery scenerio

  2. Recovery types

  3. Exception handler

  4. onexit

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

QTP handles exceptions using Recovery Scenarios, which allow you to define trigger events, recovery operations, and post-recovery test run options. This is QTP's built-in mechanism for handling unexpected events, errors, or application crashes during test execution. Option C (Exception handler) is a general programming term but not QTP-specific.

AI explanation

QTP handles unexpected errors and application crashes using Recovery Scenarios, configured via the Recovery Scenario Manager, which define trigger events (e.g., a pop-up window or application crash) and recovery operations (e.g., close window, restart application) to keep a test run going. This is QTP's built-in exception-handling mechanism, distinct from generic programming exception handlers which QTP's VBScript engine does support but isn't the dedicated feature being asked about here.