Professional Documents
Culture Documents
Test Code 4
Test Code 4
Test Code 4
Version 1.5
DOCUMENT HISTORY
DOCUMENT
DATE REVISION DESCRIPTION AUTHOR
VERSION
Table of Content
1. INTRODUCTION …………………………………………………2
1.1 Context
1.2 Purpose
1.3 Scope
1.4 Structure
3
Software Validation and Testing
1. Introduction
1.1 Context
In the fast-evolving landscape of e-commerce, the optimal functioning of an online store is
pivotal for delivering a satisfying and secure shopping experience to users. This introduction
sets the stage for a comprehensive test report on the MobiGo platform.
1.2 Purpose
This section outlines the primary purpose of the report: to transparently detail the testing
procedures, outcomes, and recommendations. The report spans functionality, usability,
security, and performance testing, providing stakeholders with a comprehensive
understanding of the online store's strengths and areas for improvement.
1.3 Scope
An overview of the testing scope, which encompasses MobiGo's entire functionality, from
login processes to payment gateways. The report delves into the user interface, security
protocols, and the platform's ability to handle varying levels of user traffic.
1.4 Structure
This report is structured into distinct chapters, each dedicated to a specific testing aspect,
providing a comprehensive examination of MobiGo. The following chapters guide readers
through key elements:
Chapter 2: Test Summary Report (Page 4): An in-depth exploration of the functional testing
phase, including the use of the Selenium library in Python. This chapter details the test
objectives, deviations encountered, completion evaluations, and lessons learned during the
testing process.
Chapter 3: Test Measure (Page 12): A comprehensive analysis of test metrics, including
measurements on test cases, defects found, incidents reported, test coverage, progress,
effectiveness, and resource consumption.
Chapter 4: Defect Report (Page 13): A detailed examination of the defects discovered during
testing, categorized by severity levels, and their impact on the application. This chapter also
provides insights into the resolution status of identified defects.
As we navigate through the diverse testing phases outlined in subsequent chapters, the report
will offer valuable insights into MobiGo's status and propose pathways for future optimization.
4
Software Validation and Testing
2.1 Functionality
GENERAL INFORMATION
Test Level: level 1 Summary Date:
Functionality
Application:
MobieGo.com Electronics Store Website
SUMMARY
TEST PERFORMED
The test involves testing the basic functionalities of the website to ensure that it is
working as expected. This includes testing the home page, About us page, Login
feature, product page, shopping cart, checkout process, and payment gateway.
Testing every element on those pages such as buttons, pictures, sliders, and
possibilities in different fields and their constraints. Also, make sure every button and
link has a direction.
Those tests were performed via the Selenium library on Python.
DEVIATION The only deviation encountered during the testing process was a problem with the
(VARIANCES) & testing environment (selenium) which was fixed by changing the version of Python.
RESIDUAL RISK
TEST COMPLETION The test was conducted successfully without the need to suspend it; we found that we
EVALUATION needed more test cases while we were testing, so we decided to add more test cases
trying to cover as many test cases as we could.
5
Software Validation and Testing
TEST DELIVERABLES & Test Deliverables:
REUSABLE ASSETS 1. Test cases and Requirement
2. Test Plan
3. Test Scripts
4. Test Data
5. Test Reports
Reusable Assets:
Test data is stored in a database.
LESSON LEARNED • Further testing could be carried out to find any problems that were possibly
overlooked.
• Involving the testing team early in the development process is beneficial.
• Ambiguous or incomplete requirements can lead to misunderstandings and missed
defects.
• Creating comprehensive test cases is critical for thorough testing.
• Reusable test cases save time and effort in future testing cycles.
FINAL The website will be easier to use if it has more features, such a register and login
RECOMMENDATION option that allows users to save the products they have chosen in the database rather
than storing personal data like address and payment details.
6
Software Validation and Testing
2.2 Usability
GENERAL INFORMATION
Test Level: level 1 Summary Date:
Usability
Application:
MobieGo.com Electronics Store Website
SUMMARY
TEST PERFORMED
Usability testing is a black-box testing approach.
• Usability testing was conducted on 02/01/2024 with a diverse group of 15
participants representing the target audience.
• Participants were asked to perform tasks such as logging in and registering,
choosing a product, adding items to the cart, and completing the checkout
process.
• Key observations included that the website was easy to learn and remember.
8
Software Validation and Testing
2.3 Security
GENERAL INFORMATION
Test Level: level 1 Summary Date:
Security
Application:
MobieGo.com Electronics Store Website
SUMMARY
TEST PERFORMED
Security testing was conducted on our e-store website to assess vulnerabilities and
ensure the protection of user data and sensitive information. The tests covered various
aspects, including authentication, authorization, data encryption, and protection against
common web application security threats.
DEVIATION We couldn’t cover all the cross-side scripting scenarios due to time constraints, however,
(VARIANCES) & more test cases are required to cover more vulnerabilities.
RESIDUAL RISK
TEST COMPLETION We can determine whether a user is protected by looking at the test case that has been
EVALUATION completed for HTTPS. The website is protected against hacker attempts to influence
customer and admin confidentiality thanks to SQL injection and XSS coding.
FACTORS THAT • Lack of team management skill
BLOCKED PROGRESS • Time limitation
• Limited cooperation from the development team in providing details about the
application's architecture and third-party integrations also impeded the testing
process.
TEST MEASURES 1. Measurements on Test Cases: 2 total test cases, 2 passed (100% pass rate).
2. Incidents: No incidents reported.
3. Test Coverage: It covered the essential attack that may come from a malicious hacker.
4. Activity Progress. All 2 test cases were completed.
5. Test Effectiveness: 100% pass rate.
6. Resource Consumption: 2 hours of testing time.
TEST DELIVERABLES & To make the injected code usable for other test cases, it was added to the test case
REUSABLE ASSETS design file.
9
Software Validation and Testing
LESSON LEARNED LESSON LEARNED:
Our team determined the following areas of strength and improvement based on the
results of the security test.
Strengths:
• Verified that users need authentication to access the system by testing URL
manipulation.
• Verified that the login page was using HTTPS secure communication.
• SQL Injection vulnerabilities in the username field were successfully tested.
FINAL The security test was passed, but the HTTPS feature failed. The website should be
RECOMMENDATION secured using HTTPS to ensure secure communication. And more XSS types like reflected
XSS attacks
10
Software Validation and Testing
Test environment: The test environment represents the hardware and software
setup used for the performance test in this case it was Apache JMeter.
Summary of Test Results: a report providing a summary of the functional results of
the test. A breakdown of the number of test cases run, passed, failed, and any
problems found during testing is also included.
11
Software Validation and Testing
LESSON LEARNED • A key lesson learned is the importance of realistic load testing scenarios that accurately
reflect expected usage patterns. Additionally, early collaboration with the development
team is crucial to obtaining the necessary information for simulating real-world
conditions.
FINAL • Resolved performance issues found: To guarantee the website performs as well as
RECOMMENDATION possible, any faults found during the performance test will be given top priority and
resolved. Optimize server configurations, enhance database performance, and
consider implementing caching mechanisms to improve response times.
• Collaborate with the development team: Collaborate closely with the development
team to implement the recommended optimizations and conduct periodic
performance testing to ensure continued optimal performance, especially during
promotional events or high-traffic periods.
APPROVALS
NAME/TITLE SIGNATURE DATE
Name/Test Manager Raya Halwani 03/01/2024
12
Software Validation and Testing
3. Test Measure
13
Software Validation and Testing
4. Defect Report
14
15