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. Single

  2. Three

  3. Multiple

  4. Unlimted

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

When you create a new test in QTP, it automatically includes a single action by default. You can add more actions later, but the initial test has one. Tests with multiple actions are created by explicitly adding them, not by default.

Multiple choice technology testing
  1. Checkpoint window

  2. Checklist window

  3. Informaton Pane

  4. Test Results window

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

Checkpoint results are viewed in the Test Results window after a test run completes. This window shows all checkpoint outcomes, screenshots, and pass/fail status. The Checkpoint window is for creating checkpoints, not viewing results.

Multiple choice technology testing
  1. Split Action

  2. Call Action

  3. Reusable Action

  4. NonReusable Action

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

Reusable actions can be called by other tests or actions, enabling modularity and code reuse. You call them using the 'Call to Copy' or 'Call to Existing' options. Split actions divide an action, Non-reusable actions cannot be called externally.

Multiple choice technology testing
  1. Low-Level

  2. Normal

  3. Analog

  4. None of the Above

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

Low-Level recording mode captures mouse clicks and keyboard input at screen coordinates when QTP cannot recognize an object using standard identification. It works around unrecognized objects by recording raw input actions instead of object-based operations. Normal recording requires object recognition, while Low-Level provides a fallback for difficult-to-identify objects.

Multiple choice technology testing
  1. Object identification

  2. Test Table

  3. Object Repository

  4. Data Table

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

The Object Repository is the central storage location where QTP maintains test objects along with their identification properties and corresponding values. It enables QTP to recognize and interact with application objects during test execution by mapping test script references to actual application objects. Other options like Data Table store test data, not object definitions.

Multiple choice technology testing
  1. F3

  2. F5

  3. F1

  4. F2

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

F1 is the universal keyboard shortcut for accessing help documentation in most Windows applications, including QuickTest Professional. It launches the context-sensitive help system. F5 is typically for Run/Refresh, F2 for editing, and F3 varies by application but is not standard for help.

Multiple choice technology testing
  1. True.

  2. False.

  3. There is some problem with the statement.

  4. None of above

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

QTP maintains a bidirectional relationship between Keyword View and Expert View: every operation in Keyword View corresponds to VBScript code in Expert View, and vice versa. Each object and method call in Expert View generates a corresponding row in Keyword View's table format. This synchronization allows testers to work in either view seamlessly.

Multiple choice technology testing
  1. Call Action

  2. Split Action

  3. Reusable Action

  4. None

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

A Reusable Action in QTP is specifically designed to be called from other tests or actions, enabling code reuse and modularity. Regular actions are local to their test, but Reusable Actions can be invoked externally with optional parameter passing. Call Action is not a type of action, and Split Action divides an action: it doesn't make it reusable.

Multiple choice technology testing
  1. GetData(Row,Col)

  2. GetRowValue(Rowid,Colname)

  3. GetCellData (Row,Col)

  4. GetRowValue(Row,Col)

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

GetCellData(Row,Col) is the correct method to retrieve data from an HTML Table in QTP/UFT. The other options (GetData, GetRowValue with various signatures) are not standard methods for table cell extraction.

Multiple choice technology testing
  1. Each test stage has a different purpose

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing

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

Different test stages have distinct objectives: unit testing verifies individual components, integration testing checks interfaces, system testing validates the complete system, and acceptance testing confirms business requirements. Each stage serves a unique purpose.

Multiple choice technology testing
  1. Integration testing

  2. Regression testing

  3. System testing

  4. User acceptance testing

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

Regression testing benefits most from capture/replay tools because it involves repeatedly executing the same tests after changes. Capture/replay allows quick re-execution of existing test suites without manual recreation, making it ideal for regression cycles.