What is the testing process followed in a company ideally?
The ideal testing process followed in the company are:
Test Planning: Here in this phase the test manager or test lead will come out with the overall test strategy. He will be also involved in estimation of testing effort and cost. Other important decision likes what will be in scope and out of scope for the testing requirements. What percentage of automation will be involved in the project will be also decided here.
Test Design (Test Condition and Test Case Development):
Once the test plan is approved, based on the requirement analysis, test scenarios and detailed test cases will be developed for all the identified components. The test cases are reviewed by the testing team and will be approved by the lead to start execution of these test cases.
Test Environment Setup: This is an independent activity which can be done by the development team or the customer. Here the environment is build and the required test data will also be kept ready. Testing team should meanwhile prepare the smoke test case to test the environment to start the formal test execution.
Test Execution: Here the team execute the test case as per the test plan and the test case developed earlier and any defect found will be logged in the defect tracking system. Each failed test cases will be tagged with one or more defects and these defects will be analyzed and assigned to the development team. Once the defects are fixed, the team will re-execute the failed test cases. Team also prepare the report on number of test cases executed, how many passed, failed, blocked, not run and pass on this information to the test lead.
Test Cycle Closure: Team will conduct a meeting to evaluate the cycle completion criteria based on test coverage, quality, cost, effort and critical business objective and software.
Team will discuss what went well, what went wrong so that can improve the process in the next testing cycle. Test case and the defect report will be analyzed to find the defect distribution by type and severity. Once the test cycles are complete the closure report along with the test metrics will be prepared.
What are the activities performed in test design and test execution?
Test Design (Test Condition and Test Case Development):
Once the test plan is approved, based on the requirement analysis, test condition and detailed test cases will be developed for all the identified components. The test cases are reviewed by the testing team and will be approved by the lead to start execution of these test cases.
Test Execution: Here the team execute the test case as per the test plan and the test case developed earlier and any defect found will be logged in the defect tracking system. Each failed test cases will be tagged with one or more defects and these defects will be analyzed and assigned to the development team. Once the defects are fixed, the team will re-execute the failed test cases. Team also prepare the report on number of test cases executed, how many passed, failed, blocked, not run and pass on this information to the test lead.
Explain the difference between an SDLC and STLC?
SDLC is a verification process and whereas STLC is a validation process.
What is test scenario, test condition and test case?
Test Scenario: Gives the idea of what we have to test. It’s like a high level test case. It’s a possible ways to test the system. A scenario can be tested by single or group of test cases.
Test Condition: Test condition is a constraint that you should follow to test the application.
Test condition can be a piece of functionality or in simple term goal of the test case.
Test Cases: Test cases helps how to test. Test cases are the set of positive and negative executable steps of a test scenario which has a set of pre-conditions, test data, expected result, post conditions and actual result.
What is the process to write a manual test case?
A test case is a document that describes step by step process on how to test the application.
They should be independent with each other and pass/fail independently from one another.
A test case should include Test Case ID, Test Description, Test Steps, Expected result, Actual result, Pass/Fail status and remarks.
What is a test cycle and why it is important to carry out testing in cycles?
Product / Project cannot be stable if you do only one round of testing as it is hard to get the test case pass percentage to the agreed value. The main reason for this is, number of defects found in the initial round of testing will be generally more and as and when the developers fix the defects and re-tested by the testing team, the number of defect raised starts reducing in the next rounds of testing cycles. Number of rounds of testing cannot be fixed and this vary company to company and it depends on what exit criteria you have defined in your test plan and the past performance of the company in handling similar kind of project. In a nut shell, testing done in multiple rounds ensure better quality and stable product /project.
Explain Requirement Traceability Matrix (RTM) in simple terms.
Every requirement needs to be mapped to the high level design, low level design, the code which is implemented and finally to the test cases which are validating this requirement. By doing this, it is easy to handle changes and also helps during audit to show case the particular scenario and show the evidence related to the scenario. This kind of mapping of requirement down to the test cases in known as traceability matrix.
No comments:
Post a Comment