Manual Testing Tutorial - 7 to 8
Manual Testing Tutorial - 7 to 8
Manual Testing Tutorial - 7 to 8
Test Execution is the process of executing test cases as defined in the test plan and observing the actual outcomes.
During test execution, testers run the tests, record the results, compare them with the expected outcomes, and
determine whether the system is functioning as expected.
1. Preparation:
o Confirm that all required tools, applications, and test data are ready for execution.
o After executing each test, compare the actual results with the expected results.
o If the test fails, log a defect or bug, detailing the issue, steps to reproduce, and severity.
o Provide detailed information, such as error messages, screenshots, or logs, to help developers fix the
issue.
5. Reporting Results:
o Update the test case status (Pass/Fail) and provide feedback to stakeholders about the testing
progress.
Test execution can be broken down into different phases based on the project lifecycle:
Alpha Testing: Testing conducted by the development team before releasing to the QA team.
Beta Testing: Testing performed by the QA team or selected end-users before the product is released to the
public.
Production Testing: The testing phase after the product has been deployed to the live environment to ensure
stability.
1. Preconditions:
2. Test Steps:
o Verify that the product appears in the cart with the correct details (product name, price, and quantity).
3. Expected Result:
o The product is successfully added to the cart, and the cart reflects the correct product name, price, and
quantity.
4. Actual Result:
o Pass/Fail: Pass
If the test had failed (e.g., the item was not added to the cart), a defect would be logged.
A defect (or bug) is any deviation from the expected result during test execution. Defects are reported so that
developers can fix them. Here are the key components of a defect report:
8. Environment: Details about the environment in which the defect was found (e.g., OS, browser version).
9. Attachments: Screenshots, logs, or other files that provide more details about the defect.
Let’s assume during test execution, we encountered an issue while adding an item to the shopping cart.
Defect ID: D_001
Summary: Product not added to the cart after clicking "Add to Cart."
Description: When attempting to add a product to the cart, the cart does not update with the product.
Steps to Reproduce:
Expected Result: The product "Laptop" should appear in the cart with the correct price and quantity.
Once a defect is reported, it goes through the following stages in its lifecycle:
1. New: The defect has been identified and reported but not yet assigned for fixing.
2. Assigned: The defect is assigned to a developer or team for investigation and resolution.
4. Fixed: The defect has been fixed and the developer has verified the solution.
5. Retesting: The QA team tests the fix to ensure the defect is resolved and no new issues have been introduced.
6. Closed: If the defect is successfully fixed, it is closed. If the defect is not reproducible or not valid, it may be
closed as "Not a Bug."
7. Rejected: If the defect is not deemed critical or is determined to be working as expected, it may be rejected.
There are several tools available for defect tracking and reporting, including:
1. JIRA: One of the most popular bug tracking tools, used for agile project management and issue tracking.
3. Trello: A simple board tool that can be used for tracking bugs in smaller projects or teams.
2. Reproducibility: Ensure that defects are reproducible by providing clear, actionable steps.
3. Timely Reporting: Report defects as soon as they are found to prevent delays in the development process.
4. Severity vs. Priority: Understand the difference between defect severity (the impact on functionality) and
priority (how soon it should be fixed).
5. Communication: Effective communication between QA and development teams is essential for resolving
defects efficiently.
7.10 Conclusion
Test execution and defect reporting are critical stages in the software testing process. By following a structured
approach to executing tests and logging defects, teams ensure that the software meets its quality standards. Effective
defect reporting and management contribute to a smoother development cycle and higher-quality software.
Test Reporting is the process of documenting and communicating the results of the testing phase. It involves
summarizing the outcomes of executed tests, tracking defects, and providing stakeholders with a clear overview of the
quality of the product.
The primary goal of test reporting is to offer transparency about the status of testing and to provide stakeholders with
the necessary information to make informed decisions about the product's readiness.
Tracking Progress: They provide a snapshot of test execution and defect statuses, which helps in understanding
the progress of testing activities.
Informed Decision Making: They assist stakeholders (e.g., product owners, developers) in making decisions on
release readiness or further work needed.
Quality Assurance: Test reports document whether the software meets the defined acceptance criteria and
quality standards.
Documentation and Compliance: They serve as official records for audits and quality control.
o A brief overview of the testing activities, including objectives, scope, and the testing environment.
3. Defect Summary:
o A summary of defects identified during testing, including their severity and status (open, in-progress,
fixed, closed).
4. Test Coverage:
o Indicates the percentage of the total application or functionality tested against the test plan.
5. Test Metrics:
o Metrics such as test case execution time, defect density, and pass/fail ratio, helping in assessing the
efficiency and effectiveness of testing.
7. Conclusion:
o A summary of the testing status and whether the product is ready for release, along with any open
issues that need resolution.
Defect Summary:
- Critical Defects: 2
- Major Defects: 5
- Minor Defects: 3
- Defects Closed: 5
- Defects Pending: 5
Test Coverage:
Test Metrics:
Conclusion:
- The product is not yet ready for release due to critical defects in the checkout process and
performance issues.
Test Closure is the final phase of the testing process, where the testing activities are formally concluded, and the
testing team prepares for project completion. This phase involves evaluating the entire testing process, ensuring that
all necessary documentation is completed, and providing final reports to stakeholders.
o Prepare a comprehensive report summarizing all test activities, results, and defect status, as shown in
the previous example.
o All test cases, test scripts, defect logs, and other related artifacts should be archived and finalized for
future reference.
4. Lessons Learned:
o A retrospective session to review what went well and what could have been improved during the
testing process. This helps in improving future testing cycles.
5. Stakeholder Sign-off:
o Obtain final approval from stakeholders (e.g., product owners, project managers) to confirm that
testing is complete and the software is ready for release.
o Provide stakeholders with access to final test deliverables, such as test cases, defect logs, and test
execution reports, for record-keeping or auditing purposes.
Defect Summary:
Critical Defects: 3
Major Defects: 5
Minor Defects: 4
Defects Closed: 6
Lessons Learned:
The testing team faced challenges with the payment integration, as the test environment was not stable,
impacting the ability to perform certain tests.
Test automation can be improved by adding more automated tests for critical user flows (like login and
checkout).
All test cases and defect logs have been reviewed and archived.
Test execution reports, defect logs, and test summary have been delivered to the stakeholders.
Stakeholder Sign-off:
Product Manager: Approved (with the understanding that critical defects will be fixed before release).
QA Lead: Approved.
1. Accuracy: Test reports should accurately reflect the status of testing, defects, and overall quality.
3. Comprehensiveness: Ensure that all necessary information (e.g., defect summary, test coverage) is included in
the final report.
4. Timeliness: Test reports and closure activities should be completed promptly at the end of the testing phase to
allow for timely decision-making.
5. Feedback: Use lessons learned to improve future testing cycles and processes.
8.9 Conclusion
Test Reporting and Closure are essential for finalizing the testing phase and ensuring that all testing activities are
properly documented and communicated. A clear test report and formal test closure process help stakeholders assess
the product’s quality and make informed decisions about its release.