Tag: testing

Questions Related to testing

  1. Component Testing

  2. Functional Testing

  3. Non-functional Testing

  4. Acceptance Testing

  5. Both 2 & 3

  6. Both 1 & 3


Correct Option: E
  1. Unreachable Code

  2. Undeclared Variables

  3. Faults in requirements

  4. Too few comments


Correct Option: C
  1. 0,9,19,49,50,74,75,99,100

  2. 10,50,75,100,250,1000

  3. 0,1,10,11,50,51,75,76,100,101

  4. 25,26,35,36,45,46,55,56


Correct Option: C
  1. Unit Testing

  2. System Testing

  3. Independant Testing

  4. Destructive Testing


Correct Option: C
  1. Data-driven and keyword-driven

  2. Data-driven and capture driven

  3. Capture driven and keyhole-driven

  4. Playback-driven and keyord-driven


Correct Option: A
Explanation:

To understand this question, the user needs to know the basic concepts of test automation and the common scripting techniques.

Data-driven testing is a technique that uses data from external sources (such as spreadsheets or databases) to drive test execution. Keyword-driven testing is a technique that uses a set of keywords or actions to define test steps. Capture-driven and keyhole-driven are not commonly used scripting techniques in test automation. Playback-driven is a term that refers to the ability of a tool to record user actions and then play them back as a test script. However, it is not an advanced scripting technique.

Therefore, the correct answer is:

The Answer is: A. Data-driven and keyword-driven.

  1. Test Planning and Design

  2. Test Analysis and Control

  3. Test Planning and Control

  4. Test execution and reoprting


Correct Option: C
  1. It is cheaper than designing tests during the test phases

  2. It helps prevent defects from being introduced into code

  3. Tests designed early are more effective than tests designed later

  4. It saves time during the testing phases when testers are busy


Correct Option: B