Computer Knowledge

Software Testing and Quality Control

2,598 Questions

Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.

Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions

Software Testing and Quality Control Questions

Multiple choice technology testing
  1. A. Local Data Sheet, Global Data Sheet, Folder

  2. B. Local Object Repository, Local Data Sheet, Folder

  3. C. Global Data Sheet, Local Object Repository, Folder

  4. D. Local Data Sheet, Global Data Sheet, Local Object Repository

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

By default, creating a new action in QTP/UFT automatically generates a Local Object Repository, a Local Data Sheet, and a corresponding folder structure to store the action's assets.

Multiple choice technology testing
  1. A Do Loop

  2. B. Recovery Scenario

  3. C. IFHEN statement

  4. D. Selectase statement

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Recovery Scenarios are specifically designed to handle unpredictable exceptions during testing, such as unexpected pop-ups, crashes, or object state changes. Do Loop is for controlled iteration, IFTHEN is conditional logic, and Select Case handles multiple conditions. Recovery Scenarios provide event-driven exception handling.

Multiple choice technology testing
  1. A. Action Settings

  2. B. Action Properties

  3. C. Action Run Settings

  4. D. Action Call Properties

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Action iterations in QTP are configured in the Action Call Properties dialog, which appears when you right-click an action call and select 'Action Call Properties'. This setting controls how many rows from the action's local data sheet are used when that action is called. Action Settings/Properties typically refer to different configuration screens, while Action Run Settings isn't a standard QTP terminology.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Retesting checks if a specific defect fix works. Regression testing checks if the fix broke other parts of the system. They are different - retesting is focused on the fixed issue, regression is broader.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Integration testing involves testing the interactions between integrated modules or systems. It can employ both black-box testing (verifying inputs and outputs without seeing internal code) and white-box testing (examining internal logic and code structures). While integration testing is a level of testing rather than a method, it commonly uses both approaches at module interfaces.

Multiple choice technology testing
  1. By recording

  2. Object Spy

  3. Net Spy

  4. Step Generator

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Object Spy is QTP's built-in tool specifically designed to view and retrieve object properties, methods, and identification properties. Recording captures actions, Net Spy doesn't exist in QTP, and Step Generator creates test steps.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

SetTOProperty changes the property values of a test object dynamically during the run-time session only. It does not permanently modify or save these changes to the Object Repository on disk, making the statement false.

Multiple choice technology testing
  1. Scheme Verification

  2. XML Validation

  3. XML Verification

  4. Scheme Validation

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Scheme Validation is the recommended QTP functionality to verify object repository XML files conform to the QTP object repository schema. The other terms (Scheme Verification, XML Validation, XML Verification) are not actual QTP features.

Multiple choice technology testing
  1. GetToProperty

  2. GetProperty

  3. GetRoProperty

  4. ObjectProperty

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In QTP/UFT automation, GetRoProperty ('Run-time Object Property') retrieves the actual property value from the application during test execution, while GetProperty retrieves values from the object repository. Options A, B, and D are not valid QTP methods for retrieving runtime properties.