Prepare for your software testing interview from our comprehensive list of over 100 interview questions. These interview questions are designed for both freshers and experienced. We will start with fairly simple questions and move to the more advanced level as the post progresses.
Ques.1. What is Software Testing?
Ans. Software testing is the process of evaluating a system to check if it satisfies its business requirements. It measures the overall quality of the system in terms of attributes like correctness, completeness, usability, performance etc. Basically, it is used for ensuring the quality of software to the stakeholders of the application.
Ques.2. Why is testing required?
Ans. We need software testing for following reasons-
Ques.3. When should we stop testing?
Ans. Testing can be stopped when one or more of the following conditions are met-
Ques.4. What is Quality Assurance?
Ans. Quality assurance is a process driven approach which checks if the process of developing the product is correct and conforming to all the standards. It is considered as a preventive measure as it identifies the weakness in the process to build a software. It involves activites like document review, test cases review, walkthroughs, inspection etc.
Ques.5. What is Quality Control?
Ans. Quality control is product driven approach which checks that the developed product conforms to all the specified requirements. It is considered as a corrective measure as it tests the built product to find the defects. It involves different types of testing like functional testing, performance testing, usability testing etc.
Ques.6. What is the difference between Verification and Validation?
Ans. Following are the major differences between verification and validation-
|1.||Verification is the process of evaluating the artifacts as well as the process of software development in order to ensure that the product being developed will comply to the standards.||Validation is the process of validating that the developed software product conforms to the specified business requirements.|
|2.||It is static process of analysing the documents and not the actual end product.||It involves dynamic testing of software product by running it.|
|3.||Verification is a process oriented approach.||Validation is a product oriented approach.|
|4.||Answers the question - "Are we building the product right?"||Answers the question - "Are we building the right product?"|
|5.||Errors found during verification require lesser cost/resources to get fixed as compared to be found during validation phase.||Errors found during validation require more cost/resources. Later the error is discovered higher is the cost to fix it.|
Ques.7. What is SDLC?
Ans. Software Development Life Cycle refers to all the activities that are performed during software development, including - requirement analysis, designing, implementation, testing, deployment and maintenance phases.
Ques.8. Explain STLC - Software Testing life cycle.
Software testing life cycle refers to all the activities performed during testing of a software product. The phases include-
Ques.9. What are the different types of testing?
Testing can broadly be defined into two types-
Going by the way the testing is done, it can be categorized as-
Ques.10. What is a test bed?
Ans. A test bed is a test environment used for testing an application. A test bed configuration can consist of the hardware and software requirement of the application under test including - operating system, hardware configurations, software configurations, tomcat, database etc.
Ques.11. What is a test plan?
Ans. A test plan is a formal document describing the scope of testing, the approach to be used, resources required and time estimate of carrying out the testing process. It is derived from the requirement documents(Software Requirement Specifications).
Ques.12. What is a test scenario?
Ans. A test scenario is derived from a use case. It is used for end end to end testing of a feature of an application. A single test scenario can cater multiple test cases. The scenario testing is particularly useful when there is time constraint while testing.
Ques.13. What is a test case?
Ans. A test case is used to test the conformance of an application with its requirement specifications. It is a set of conditions with pre-requisites, input values and expected results in a documented form.
Ques.14. What are some attributes of a test case?
Ans. A test case can have following attributes-
Ques.15. What is a test script?
Ans. A test script is an automated test case written in any programming or scripting langauge. These are basically a set of instructions to evaluate the functioning of an application.
Ques.16. What is a bug?
Ans. A bug is a fault in a software product detected at the time of testing, causing it to function in an unanticipated manner.
Ques.17. What is a defect?
Ans. A defect is non-conformance with the requirement of the product detected in production (after the product goes live).
Ques.18. What are some defect reporting attributes?
Ans. Some of the attributes of a Defect resport are-
Ques.19. What are some of the bug or defect management tools?
Ans. Some of the most widely used Defect Management tools are - Jira, Bugzilla, Redmine, Mantis, Quality Center etc.
Ques.20. What is defect density?
Ans. Defect density is the measure of density of the defects in the system. It can be calculated by dividing number of defect identified by the total number of line of code(or methods or classes) in the application or program.
Ques.21. What is defect priority?
Ans. A defect priority is the urgency of the fixing the defect. Normally the defect priority is set on a scale of P0 to P3 with P0 defect having the most urgency to fix.
Ques.22. What is defect severity?
Ans. Defect severity is the severity of the defect impacting the functionality. Based on the organisation, we can have different levels of defect severity ranging from minor to critical or show stopper.
Ques.23. Give an example of Low priority-Low severity, Low priority-High severity, High priority-Low severity, High priority-High severity defects.
Ques.24. What is a blocker?
Ans. A blocker is a bug of high priority and high severity. It prevents or blocks testing of some other major portion of the application as well.
Ques.25. What is a critical bug?
Ans. A critical bug is a bug that impacts a major functionality of the application and the application cannot be delivered without fixing the bug. It is different from blocker bug as it doesn't affect or blocks the testing of other part of the application.