Tag: testing

Questions Related to testing

What is the method used to get the root element of an xml document

  1. RootElement

  2. GetRootItem

  3. GetRootNode

  4. GetRootElement


Correct Option: D
  1. collection having child nodes/elements

  2. a node/child

  3. true if there are children and false if no children

  4. root node


Correct Option: A
  1. collection_obj.element(0)

  2. collection_obj.Item(0)

  3. collection_obj.node(0)

  4. No such property


Correct Option: B
  1. define a trigger, define the recovery operations, define the post recovery operations

  2. define the recovery operations, define a trigger, define the post recovery operations

  3. can be created in any order

  4. no such wizard is available in Quick Test


Correct Option: A

1.Which typical defects are easier to find using static instead of dynamic testing A. deviation from standards B. requirements defects C. insufficient maintainability D. incorrect interface specifications

  1. A,B,C and D

  2. A and C

  3. A,C and D

  4. A,B and C


Correct Option: A

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) A, B, C, and D - This option is incorrect because it includes all the given options, which means it includes incorrect interface specifications as well. The correct answer should only include the defects that are easier to find using static testing instead of dynamic testing.

Option B) A and C - This option is incorrect because it does not include requirements defects (option B) and incorrect interface specifications (option D). The correct answer should include all the defects that are easier to find using static testing instead of dynamic testing.

Option C) A, C, and D - This option is incorrect because it does not include requirements defects (option B). The correct answer should include all the defects that are easier to find using static testing instead of dynamic testing.

Option D) A, B, and C - This option is incorrect because it does not include incorrect interface specifications (option D). The correct answer should include all the defects that are easier to find using static testing instead of dynamic testing.

The correct answer is A. This option includes all the typical defects that are easier to find using static testing instead of dynamic testing, such as deviation from standards, requirements defects, insufficient maintainability, and incorrect interface specifications.

  1. What technique captures system requirements that contain logical conditions?
  1. Boundary value

  2. Equivalence partition

  3. Decision table

  4. State transition


Correct Option: C

AI Explanation

To answer this question, you need to understand different techniques used to capture system requirements.

Option A) Boundary value - This option is incorrect because the boundary value technique is used to test the behavior of a system at the boundaries of input values, rather than capturing system requirements that contain logical conditions.

Option B) Equivalence partition - This option is incorrect because the equivalence partition technique is used to divide the input values into equivalent groups to reduce the number of test cases needed, rather than capturing system requirements that contain logical conditions.

Option C) Decision table - This option is correct because the decision table technique is used to capture system requirements that contain logical conditions. A decision table is a tabular representation that shows different combinations of inputs and their corresponding actions or outcomes.

Option D) State transition - This option is incorrect because the state transition technique is used to capture system requirements that involve the transition of a system from one state to another, rather than capturing system requirements that contain logical conditions.

The correct answer is C) Decision table. This option is correct because the decision table technique is specifically designed to capture system requirements that contain logical conditions.

  1. Which of the following can be tested as part of operational testing?
  1. Component interaction

  2. Probe effect

  3. State transition

  4. Disaster recovery


Correct Option: D
  1. Specification based technique

  2. Black box technique

  3. White box technique

  4. D. Data driven testing technique


Correct Option: C