Software Testing Interview Questions

Q1 - What is Software Testing?

Software Testing is the process of evaluating a given software for the expected output. Software Testing helps validate and verify the requirements agreed upon before building the software.

Q2 - What is a Test Case?

Test Case is a set of conditions which are applied to the software. For a test case, there shall be conditions specified like specific data in database tables, environment variables, system environment conditions, network conditions, etc. Once the conditions are set up, a step by step process tells the tester what to be done and what results are expected. Tester has to perform the steps and log the actual results against expected results. If actual results are same as that of expected results, the test case is said to be passed, else failed.

  1. What is a Test Script?
  2. What is a Test Scenario?
  3. What is a Test Plan?
  4. What is Risk Analysis?
  5. What are the deliverables by a Testing Team?

Q3 - What is White Box Testing?

White Box Testing is a process in which the test cases are prepared based on the knowledge of software’s internal conditions. The internal conditions could be programming language used, functions and variables used inside the program, database tables used, type of database, interfacing drivers used, etc. For White Box Testing, the tester must be aware and be knowledgeable on each and every internal aspect of the software. White Box Testing has got other names. They are :

  1. Glass Box Testing
  2. Structural Testing
  3. Clear Box Testing
  4. Open Box Testing

Q4 - What are the uses of White Box Testing?

Uses of White Box Testing are :

  1. The software is checked for any internal security flaws that occur because of technologies and environments used.
  2. All the classes, methods, variables, etc., are tested for their necessity and functionality.
  3. To know if the software has any broken paths between input and output for any specific pattern of inputs.
  4. Variables are checked if their specified type can hold all the possible values intended for that variable.
  5. Conditional Loops, Breaking of Loops, and Branching Statements are tested with possible input patterns for intended behavior.

Q5 - What is Black Box Testing?

Black Box Testing is a process in which the tester has no idea about the internal structure, design or implementation of the software, and tests for functional and non-functional behavior of the software. Black Box Testing provides abstraction from the internal details of software.

Q6 - Name some types of Black Box Testing.

There are many types of Black Box Testing, but the most prominent ones are :

  1. Functional Testing
  2. Non-functional Testing
  3. Regression Testing

Q7 - What is Behavioral Testing?

Black Box Testing is also called Behavioral Testing because, at the end of the day, only the external behavior of the program is tested.

Q8 - Which are the different types of testing?

Based on different parameters like testing environment, the number of users that can use the software simultaneously, the team which is testing the software, etc., testing has been classified into many types. Some of them are :

  • Blackbox Testing
  • Whitebox Testing
  • Unit Testing
  • Functional Testing
  • Integration Testing
  • System Testing
  • Stress Testing
  • Performance Testing
  • Usability Testing
  • User Acceptance Testing
  • Regression Testing
  • Beta Testing
  • Endurance Testing

Q9 - Name some of the software errors.

Different types of software errors can occur during software testing. Some of them are :

  • Functional Errors
  • Communication Errors
  • Missing command Errors
  • Syntactic Errors
  • Exceptional Handling/Error Handling errors (wrongly handling exceptions and errors)
  • Logical Errors (an incorrect formula, an incorrect transformation of business logic to programming solutions)
  • Control Flow Errors ()
  • Beautification Errors (placement of elements in UI)

Q10 - What is Software Testing Life Cycle?

Software Testing Life Cycle (STLC in short) is a process with definite phases which have to be performed in an order to ensure the quality of the software. Each phase has its own goals and is carried out by one or more teams. Including all the phases of STLC during application development is not necessary; their inclusion in a project depends on the organization and the type of software application.

Q11 - Which are the different phases in Software Testing Life Cycle?

Following are the phases in Software Testing Life Cycle in order :

  1. Requirements phase
  2. Planning Phase
  3. Analysis phase
  4. Design Phase
  5. Implementation Phase
  6. Execution Phase
  7. Conclusion Phase
  8. Closure Phase

An organization can choose to omit any of the above phases during application development.

Q12 - Which are the deliverables during the Requirement phase?

  • RUD ( Requirements Understanding Document)
  • Testing Feasibility Report
  • Automation Feasibility Report

Q13 - Which are the deliverables during Planning Phase?

  • Test Plan Document
  • Risk Mitigation Document
  • Test Estimation Document

Q14 - Which are the deliverables during Analysis Phase?

  • Test Conditions Document

Q15 - Which are the deliverables during Design Phase?

  • Detailed Test Condition Document
  • Requirement Traceability Metrics
  • Test Coverage Metrics

Q16 - Which are the deliverables during Implementation Phase?

  • Test Cases
  • Test Scripts
  • Test Data

Q17 - What are the deliverables during Execution Phase?

  • Test Execution Report
  • Defect Report
  • Test Log and Defect Log
  • Updated Requirement Traceability Metrics

Q18 - What are the deliverables during Conclusion Phase?

  • Updated Traceability Metrics
  • Test Summary Report
  • Updated Risk Management Report

Q19 - What are the deliverables during Closure Phase?

  • Lessons Learnt Document
  • Test Matrices
  • Test Closure Report

What is Blackbox Testing?

What is Whitebox Testing?

What is Unit Testing?

What is Functional Testing?

What is Integration Testing?

What is System Testing?

What is Stress Testing?

What is Performance Testing?

What is Usability Testing?

What is User Acceptance Testing?

What is Regression Testing?

What is Beta Testing?

What is Endurance Testing?