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

This statement uses descriptive programming for the Browser and Page objects using regular expressions (title:=...), and standard repository identification for the child WebEdit object, which is syntactically valid in QTP.

Multiple choice technology testing
  1. OSS_cfg

  2. Inter_TestCase_DataTransition

  3. OSS_TestExecution Sheet

  4. None of the above

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

The OSS_TestExecution Sheet is the central spreadsheet where all components for a specific proposition are listed. This sheet contains an Execute flag (Yes/No) for each component, which determines which component scripts should be executed during the test run. OSS_cfg contains configuration settings, and Inter_TestCase_DataTransition handles data passing between test cases.

Multiple choice technology testing
  1. Inter_TestCase_DataTransition

  2. Detailed HTML Report

  3. Summary HTML Report

  4. Log files under the “logs” Folder

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

Log files in the logs folder contain detailed initialization information including whether required files like OSS_TestExecution Sheet and OSS_cfg were loaded successfully. The logs capture any loading errors, file path issues, or initialization failures that might occur when the framework starts up. HTML reports show test results, not initialization status.

Multiple choice technology testing
  1. Scripts

  2. Data

  3. Reports

  4. None of the Above

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

Both the Scripts and Data folders contain Applications and Common sub-folders. The Scripts folder organizes test scripts into Applications (app-specific tests) and Common (shared/reusable scripts). Similarly, the Data folder organizes test data files into Applications and Common sub-folders for corresponding scripts. Reports has a different structure without these sub-folders.

Multiple choice technology testing
  1. OSS_Main

  2. OSS_API

  3. OSS_DriverScript

  4. Every component “.vbs” file will have the function defined

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

The OSS_API.vbs file contains the function for loading the Object Repository. This centralizes repository loading logic at the API level rather than duplicating it across each component's .vbs file or placing it in OSS_Main or OSS_DriverScript. The API file provides common functions that components can call as needed.

Multiple choice technology testing
  1. Allow QC to run tests remotely

  2. Enable QC Integration

  3. Allow other Products to control QTP

  4. Allow other Products to run tests remotely

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

To enable Quality Center to execute QTP tests remotely, you must configure QTP to allow remote test execution by setting the 'Allow QC to run tests remotely' option. This permission must be enabled in QTP before Quality Center can control test execution.

Multiple choice technology testing
  1. Regular Expressions

  2. Parameterization

  3. Descriptive Programming

  4. All the Above

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

Descriptive Programming allows you to define objects dynamically in your code using property-value pairs, making it ideal for objects whose properties change at runtime. Regular Expressions have limited flexibility, while Parameterization is for test data, not object identification.

Multiple choice technology testing
  1. Local Object Repositories

  2. All Repository Types

  3. Shared Object Repositories

  4. All the Above

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

The Object Repository Manager handles both Local Object Repositories (test-specific .tsr files) and Shared Object Repositories (reusable .tsr files across multiple tests). This dual capability supports different test object management strategies.

Multiple choice technology testing
  1. Checkpoints

  2. Test Objects in the Repository

  3. Database Checkpoints

  4. All of the Above

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

QTP supports parameterization across checkpoints (data-driven validation), test objects (dynamic property values), and database checkpoints (parameterized queries and expected results). This comprehensive parameterization enables flexible, data-driven testing.

Multiple choice technology testing
  1. A Collection of Objects

  2. A count of the number of Objects on the page

  3. All the Web pages displayed in the browser

  4. None of the above

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

The ChildObjects method returns a collection of all child objects that match the specified description properties from a parent object. This enables programmatic retrieval and manipulation of multiple similar objects.

Multiple choice technology testing
  1. Object Spy

  2. Object Repository Manager

  3. Object Identification

  4. All the above

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

In UFT (Unified Functional Testing), Object Identification is the feature where you define and configure the mandatory and assistive properties that the tool uses to identify and recognize test objects during runtime. The Object Spy is used to view the properties and methods of an object at runtime, while Object Repository Manager is used to manage shared object repositories. Only Object Identification lets you configure how the tool identifies objects.

Multiple choice technology testing
  1. 30000 ms

  2. 60000 ms

  3. 90000 ms

  4. 40000 ms

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

The default browser navigation timeout in QTP is 90000 ms (90 seconds). This setting controls how long QTP waits for page navigation to complete before timing out. Options A (30s), B (60s), and D (40s) are incorrect defaults for this setting.

Multiple choice technology testing
  1. Dictionary Object

  2. Dialog Object

  3. Child Object

  4. Desktop Object

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

A Dictionary object stores data as key-value pairs, where each unique key maps to a corresponding item or value. This is the fundamental data structure for associative arrays and maps across programming languages.