Multiple choice technology testing

What are the available trigger event types?

  1. A. Pop-up window, object state, VBScript event

  2. B. Object State, VBScript event, Application crash

  3. C. Pop-up window, object state, test run error, QTP crash

  4. D. Pop-up window, object state, test run error, application crash

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

QTP/UFT provides four main trigger event types for Recovery Scenarios: Pop-up window (unexpected dialog), Object State (property changes), Test run error (script failures), and Application crash (application terminates). These events trigger recovery operations to handle exceptions automatically during test execution. VBScript events are not trigger types in this context.

AI explanation

In HP QuickTest Professional (QTP/UFT), Recovery Scenarios can be triggered by four event types: a pop-up window appearing unexpectedly, an object reaching a particular state, a test run error occurring, or the application under test crashing. These recovery mechanisms let a script handle unexpected interruptions gracefully rather than failing the entire run. Option A and B mix in things like VBScript events or 'Application crash' inconsistently and omit valid trigger types; option C substitutes 'QTP crash' for 'application crash', which is not one of the standard trigger categories — QTP monitors the application under test crashing, not itself. Option D correctly lists all four standard trigger event types.