What can you use to handle unpredictable testing exceptions?

  1. A. A Do Loop

  2. B. Recovery Scenario

  3. C. IFHEN statement

  4. D. Selectase statement


Correct Option: B
Explanation:

To handle unpredictable testing exceptions, one can use recovery scenarios.

Option A, Do Loop, is a programming construct used to execute a block of code repeatedly. It is not relevant to handling unpredictable testing exceptions.

Option B, Recovery Scenario, is a feature of automation testing tools that allows you to define a set of actions to be taken when a particular exception or error occurs during test execution. This option is the correct answer.

Option C, IFTHEN statement, is a conditional statement used in programming to execute a block of code based on a particular condition. It is not directly relevant to handling unpredictable testing exceptions.

Option D, Selectase statement, is not a valid programming construct or feature of automation testing tools.

Therefore, the correct answer is:

The Answer is: B. Recovery Scenario.

Find more quizzes: