Tag: testing

Questions Related to testing

  1. A. Syntax errors

  2. B. The test name and author

  3. C. The QTP license information.

  4. D. The machine ID and operating system.


Correct Option: A

What does a break point do?

  1. A. Stops test execution at the specified step, after executing that step

  2. B. Stops test execution at the specified step, before executing that step.

  3. C. Pauses test execution at the specified step, after executing that step

  4. D. Pauses test execution at the specified step, before executing that step.


Correct Option: D
  1. A. It records exact keyboard operations on an object.

  2. B. It records exact coordinates of all mouse movements.

  3. C. It uses the object repository to determine what methods can be used.

  4. D. It records and display exact keyboard operations on an object.


Correct Option: A

What can you use to handle unpredictable testing exceptions?

  1. A. A Do Loop

  2. B. Recovery Scenario

  3. C. IF then Statement

  4. D. Select case statement.


Correct Option: B

Action can be split into multiple actions (true/false)

  1. True

  2. False


Correct Option: B

The toolbar enables you to view the details of an individual action or the entire test flow is

  1. Testing toolbar

  2. None of the above

  3. Action toolbar

  4. Test Pane


Correct Option: D

To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?

  1. Add the specific property to the list

  2. Use the Default property

  3. Use some other property to identify your object

  4. NONE


Correct Option: A

AI Explanation

To answer this question, you need to understand how properties are used to identify objects. Let's go through each option to understand why it is correct or incorrect:

Option A) Add the specific property to the list - This option is correct because if a specific property is not listed in the properties list, you can add it to the list to identify your object. By adding the specific property, you can ensure that the object can be uniquely identified.

Option B) Use the Default property - This option is incorrect because the Default property is typically used as a fallback option when no other properties can be used to identify the object. It is not meant to be used for identifying the object directly.

Option C) Use some other property to identify your object - This option is incorrect because if the specific property you want to use is not listed in the properties list, it means that it is not available to be used for identifying the object. You should add the specific property to the list instead.

Option D) NONE - This option is incorrect because there is a way to identify the object by adding the specific property to the list.

The correct answer is A) Add the specific property to the list. This option is correct because by adding the specific property to the list, you can use it to identify your object.