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. all the tests in the Test Plan

  2. all the cycles or releases the test is linked to

  3. all the requirements linked to the specified test

  4. all the tests in a specified folder in the Test Plan

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

In HP ALM/Quality Center, a live analysis graph in the Test Plan module typically provides a visual overview of the status and distribution of tests within a specific selected folder.

Multiple choice technology testing
  1. Rejected

  2. Fixed

  3. Deferred

  4. Closed

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

When a defect cannot be fixed due to missing requirements or insufficient code (a gap), it cannot be immediately resolved. 'Deferred' is the appropriate state because the defect is acknowledged but requires future work when requirements are clarified. 'Rejected' would imply the defect is invalid, while 'Fixed' and 'Closed' suggest completion.

Multiple choice technology testing
  1. True

  2. False

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

Error guessing is an experienced-based testing technique where testers use their intuition to guess potential error conditions. Structuring this technique by enumerating possible errors (null inputs, boundary conditions, invalid formats, etc.) makes it more systematic and thorough than relying solely on intuition.

Multiple choice technology testing
  1. GetCellData (Row,Col);

  2. GetRowValue (Rowid,Colname);

  3. GetData (Row,Col);

  4. GetCellValue (Row,Col);

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

In QTP (QuickTest Professional), the GetCellData(row, col) method is used to retrieve data from a specific cell in an HTML Table object. The method takes row and column indices as parameters and returns the cell's content.

Multiple choice technology testing
  1. Services.StartTransaction "Name", Services.EndTransaction "Name";

  2. StartTransaction.Services “Name”,EndTransaction. Services "Name";

  3. StartTransaction ("Name"), EndTransaction ("Name");

  4. Services.StartTransaction "Name", EndTransaction. Services "Name";

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

In QTP/UFT, transactions are started and ended using the Services object with the syntax Services.StartTransaction "Name" and Services.EndTransaction "Name".

Multiple choice technology testing
  1. .TSR and .QRS

  2. .QRS and .MTR

  3. .TSR and .MTR

  4. .MTR and .QFL

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

To solve this question, the user needs to have knowledge about automated testing tools and file extensions used in them.

The correct option is:

C. .TSR and .MTR

Explanation:

In automated testing tools like UFT (Unified Functional Testing), shared object repository and local object repository are used to store object information.

  • Shared Object Repository (SOR) file stores information about the objects that are common for multiple tests. The file extension of the Shared Object Repository file is .TSR (Test Shared Repository).

  • Local Object Repository (LOR) file stores information about the objects that are specific to a particular test. The file extension of the Local Object Repository file is .MTR (Mercury Test Results).

Therefore, the correct answer is option C, .TSR and .MTR.

Multiple choice technology testing
  1. Shared repository & Function Library

  2. Shared Repository

  3. Local Repository

  4. Function library

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

Checkpoint information in QTP is stored in the Local Repository associated with each action. Unlike shared objects that can be stored in a shared repository, checkpoints are specific to an action and are maintained locally within that action's object repository.

Multiple choice technology testing
  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout

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

The Checkpoint timeout property in QTP specifies the time interval (in seconds) during which QuickTest attempts to perform a checkpoint successfully. If the checkpoint cannot be verified within this time, the step fails.

Multiple choice technology testing
  1. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected").WebEdit("employeeNumber").Set "000000"

  2. Browser("title:=Ultimatix - Get Connected !").Page("title:=Ultimatix - Get Connected !").WebEdit("name:=employeeNumber").Set "000000"

  3. Browser("title:=Ultimatix - Get Connected !"). Page("title:=Ultimatix - Get Connected !"). WebEdit("employeeNumber").Set "000000"

  4. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected"). WebEdit("name:=employeeNumber").Set "000000"

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology testing
  1. (.TSR and .QRS)

  2. (.QRS and .MTR)

  3. (.TSR and .MTR)

  4. (.MTR and .QFL)

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

In QTP (QuickTest Pro), Shared Object Repositories use the .TSR extension and Local Object Repositories use the .MTR extension. .QRS and .QFL are not standard QTP repository file extensions. Understanding these extensions is important for managing and sharing object repositories across QTP tests.

Multiple choice technology testing
  1. GetCellData (Row,Col);

  2. GetRowValue (Rowid,Colname);

  3. GetData (Row,Col);

  4. GetCellValue (Row,Col);

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

In QTP (QuickTest Pro), the GetCellData(Row, Col) method retrieves data from an HTML table cell by specifying row and column indices. The other options (GetRowValue, GetData, GetCellValue) are not standard QTP methods for table data retrieval. Understanding the correct method is essential for web table testing and validation.

Multiple choice technology testing
  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout

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

The Checkpoint timeout setting in QTP specifies the maximum time duration (in seconds) that QTP will attempt to successfully verify a checkpoint. During this period, QTP retries the checkpoint verification at regular intervals. If the checkpoint cannot be verified within the timeout, the step fails. This applies to all checkpoint types.