Tag: testing

Questions Related to testing

  1. A. For..Next, Select…..Case, Do…Loop

  2. B. If…EndIf, For…Next, While…Wend

  3. C. Do…loop, while…wend, select..case

  4. D. Do..while, While…End, For…next


Correct Option: D
  1. A. Action Settings

  2. B. Action Properties

  3. C. Action Run Settings

  4. D. Action Call Properties


Correct Option: B
  1. A. Local

  2. B. Global

  3. C. Run-time Data Table

  4. D. Design-time Data Table


Correct Option: B
  1. A. Action Settings

  2. B. Action Properties

  3. C. Action Run Settings

  4. D. Action Call Properties


Correct Option: D
  1. A. The SQL query

  2. B. The identification number of the database

  3. C. The number of rows returned from the query

  4. D. The connectionstring used to connect to the database


Correct Option: A

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 win


Correct Option: C
  1. A. Disable Virtual Objects in Test Settings

  2. B. Remove the Collection from your machine

  3. C. Disable Virtual Objects in General Options

  4. D. Remove the Collections from the Resources list


Correct Option: C
  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.