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. Low-Level Recording Mode

  2. Normal recording Mode

  3. Analog Mode

  4. None of the above

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

Low-Level Recording captures coordinates and mouse/keyboard operations at the screen level when QuickTest cannot recognize an object. Normal Recording relies on object recognition, while Analog Mode is specifically for continuous mouse movements like drawing.

Multiple choice technology testing
  1. Reporter.log()

  2. Reporter.reportevent()

  3. Reporter.msgbox()

  4. Reporter.report()

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

Reporter.ReportEvent() is the correct QTP method for sending information to the test results with a status and description. Reporter.Report() does not exist, Reporter.Log() is not a standard method, and Reporter.MsgBox() displays a message box rather than reporting to results.

Multiple choice technology testing
  1. check timeout

  2. checkpoint interval timeout

  3. checkpoint timeout

  4. quicktest timeout

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

Checkpoint timeout specifies the time interval in seconds during which QuickTest attempts to perform a checkpoint operation successfully. Check timeout and checkpoint interval timeout are not standard QTP terms.

Multiple choice technology platforms and products
  1. call_form

  2. new_form

  3. open_form

  4. both b) & c)

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

OPEN_FORM is the correct method when you need to use both the calling form and called form simultaneously. CALL_FORM replaces the calling form and control returns only after the called form exits, while NEW_FORM replaces the calling form completely without returning.

Multiple choice technology performance
  1. Analyzer

  2. VuGen

  3. Controller

  4. Generator

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

The Controller is the central console for managing and executing load tests in LoadRunner. It orchestrates load generators, manages the test execution, and monitors results. VuGen creates scripts, Analyzer analyzes results after test completion, and Generator is not a standard component.

Multiple choice technology testing
  1. *.mts

  2. *.usr

  3. *.mtr

  4. *.vbs

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

QTP (QuickTest Pro) stores test scripts with the .mts extension, which represents 'Mercury Test Script.' This file format contains the test's actions, resources, and configuration data, while .usr files store user settings and .vbs contains external VBScript code.

Multiple choice technology testing
  1. GetVisibleText

  2. GetROProperty

  3. SetROProperty

  4. GetTOProperty

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

GetROProperty (Get Run-Time Object Property) is the QTP/UFT method used to retrieve the current property value of a test object from the application during a run session. GetTOProperty retrieves properties from the test repository, and SetROProperty is not a valid method.

Multiple choice technology programming languages
  1. Session.Close ( )

  2. Session.Discard ( )

  3. Session.Abandon ( )

  4. Session.Exit ( )

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

Session.Abandon() is the correct method to explicitly terminate a user's session in ASP.NET. It ends the current session, releases session resources, and fires the Session_End event. The other methods (Close, Discard, Exit) do not exist in the Session API.