STLC - Software Testing Life Cycle
STLC - Software Testing Life Cycle
Life Cycle
(STLC)
0
Interview Questions and Answers
Ans:- Software testing life cycle refers to all the activities performed during testing of a software
product.
Requirement analyses.
Test planning -
Test Design and development.
Test environment setup
Test execution
Test closure and reporting
Requirement analyses and validation - In this phase the requirements documents are
analyzed and validated and scope of testing is defined.
Test planning - In this phase test plan strategy is defined, estimation of test effort is defined
along with automation strategy and tool selection is done.
Test Design and analysis - In this phase test cases are designed, test data is prepared and
automation scripts are implemented.
Test environment setup - A test environment closely simulating the real world environment
is prepared.
Test execution - The test cases are prepared, bugs are reported and retested once resolved.
Test closure and reporting - A test closure report is prepared having the final test results
summary, learning’s and test metrics.
Functional testing - Functional testing involves validating the functional specifications of the
system.
Non Functional testing - Non functional testing includes testing the non-functional
requirements of the system like performance, security, scalability, portability, endurance etc.
1
Q.5. What is Test Scenario?
Ans-A1- Test Scenario is overview of any functionality of software application which is under testing.
A2- 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
Ans. A1- Test case is detail description of any functionality how to test it, Test case involved many
details like test case title, prerequisites, steps, test data, expected result, actual result, status etc
A2- 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.
A2- In test Execution we simply give input of test data to system and check the final outcome of
software application.
Ans:-A1- Test Closure is a document that gives a summary of all the tests conducted during the
software development life cycle, it also gives a detailed analysis of the bugs Reported and closed.
A2- Test Closure is final stage of STLC where we will make all details documentations which are
required submit to client at time of software delivery. Such as test report, defect report, test cases
summary, RTM details, release note.
Ans:- It includes:-
test case documents,
test plan, test strategy,
Release note
test scripts,
test data,
traceability matrix, and
test results and reports like test closure report.
Ans:-It is a number/ identity given to Installable software that is given to testing team by the
development team
2
Q.11 What is release?
Ans:- It is a number/ identity given to Installable software that is handed over to customer/client by
the testing team (or sometime directly by development team)
Ans:- Deployment is the mechanism through which applications, modules, updates, and patches are
delivered from developers to end user/ client/customer.
Ans.
Testing means to check the behavior of application whether it is expected or not. And Testing
can be done without any internal knowledge of software architecture.
Debugging means to find out main cause of defect and debugging requires Internal knowledge
of the software architecture and coding.
Ans:- Testing includes many activities in each phase of the development life cycle as requirement
verification, verify design, create test plan, etc. So software testing activity should be started as soon as
possible (After requirement baseling) in the development life cycle.
Q.15. Which tools you are using to write an review test cases?
Ans:- Generally in our company we preferred to write down test cases in excel sheet, because its very
easy and user-friendly. After completion of review, we will add that test cases in TestLink for future
tracking purpose.
TestLink
Version:-1.9.13 (Strombringer)
Ans:- It shown entire testing process with all statistics and reports
And:- Code freeze means Finalization of code and no more further changes will be happens in code.
Q.19. How would you define that testing is sufficient and it’s time to enter the Test Closure
phase? Or When we should stop testing?
Testing can be stopped when one or more of the following conditions are met-
1. After test case execution - Testing phase can be stopped when one complete cycle of test cases
is executed after the last known bug fix with agreed upon value of pass-percentage.
2. Once the testing deadline is met - Testing can be stopped after deadlines get met with no high
priority issues left in system.
3. Based on Mean Time Between failure (MTBF)- MTBF is the time interval between two inherent
failures. Based on stakeholders decisions, if the MTBF is quite large one can stop the testing
phase.
4. Based on code coverage value - Testing phase can be stopped when the automated code
coverage reaches a specific threshold value with sufficient pass-percentage and no critical bug.
Ans:- before start execution, we need to setup the environment for testing.
4
Q. 22 What is different levels of testing?
Ans. Testing can be performed at different levels during the development process. Performing testing
activities at multiple levels help in early identification of bugs. The different levels of testing are -
1. Unit Testing
2. Integration Testing
3. System Testing
4. Acceptance Testing
Black box testing - In black box testing, the tester need not have any knowledge of the internal
architecture or implementation of the system. The tester interact with the system through the
interface providing input and validating the received output.
White box testing - In white box testing, the tester analyses the internal architecture of the
system as well as the quality of source code on different parameters like code optimization,
code coverage, code reusability etc.
Gray box testing - In gray box testing, the tester has partial access to the internal architecture
of the system e.g. the tester may have access to the design documents or database structure.
This information helps tester to test the application better.
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).