STA LAB
STA LAB
Introduction
The purpose of this test plan is to outline the testing approach for an e-commerce
web/mobile application, specifically www.amazon.in. The goal is to ensure that the
application functions as intended, meets user requirements, and provides a seamless
shopping experience.
Scope
The scope of this test plan includes testing the core functionalities of the e-commerce
application, such as browsing products, adding items to the cart, placing orders, and
managing user accounts. It also covers testing across different platforms, including
web and mobile.
Test Objectives
1. Validate the functionality of the e-commerce application.
2. Verify that the application is user-friendly and provides a smooth shopping
experience.
3. Ensure that the application is secure and protects user data.
4. Test the application's compatibility across different browsers and devices.
5. Evaluate the performance and scalability of the application under various load
conditions.
6. Identify and report any defects or issues found during testing.
Test Environment
1. Web browsers: Chrome, Firefox, Safari, and Edge.
2. Mobile devices: iOS and Android.
3. Test management tool: Jira or any other preferred tool.
4. Test automation tool: Selenium WebDriver or any other preferred tool.
5. Load testing tool: JMeter or any other preferred tool.
Test Approach
1. Requirements Analysis:
Review the functional and non-functional requirements of the e-commerce
application.
Identify testable features and prioritize them based on criticality.
2. Test Design:
Create test scenarios and test cases for each identified feature.
Include positive and negative test cases to cover different scenarios.
Define test data and test environment setup requirements.
3. Test Execution:
Execute test cases manually or using test automation tools.
Log defects in the test management tool and track their status.
Perform regression testing after each bug fix or application update.
4. Performance Testing:
Design and execute performance tests to evaluate the application's response time,
throughput, and scalability.
Simulate different user loads and monitor system resources during testing.
Identify performance bottlenecks and suggest improvements if needed.
5. Security Testing:
Conduct security testing to identify vulnerabilities and ensure the application protects
user data.
Test for common security issues like SQL injection, cross-site scripting (XSS), and
authentication vulnerabilities.
Implement security best practices and follow industry standards.
6. Compatibility Testing:
Test the application on different browsers, versions, and mobile devices.
Verify that the application renders correctly and functions as expected across various
platforms.
Test Deliverables
1. Test plan document.
2. Test scenarios and test cases.
3. Test execution reports.
4. Defect reports with severity and priority.
5. Performance test reports.
6. Security test reports.
Conclusion
By following this test plan, you can ensure comprehensive testing of the e-commerce
web/mobile application (www.amazon.in). It covers functional, performance, security,
and compatibility testing, enabling you to deliver a high-quality and reliable
application to end-users.
EX.NO: 2 Design the test cases for testing the e-commerce
application
DATE:
Aim:
Below are some of the test cases which will help you to do better testing of E-
Commerce Websites
Check that users can navigate through all the products across different
categories.
Check that all the links are redirecting to correct product/category pages, andnone
of the links is broken.
Check that the company logo is visible.
Check that all the text – product, category name, price, and product description are
visible.
Check that all the images are visible.
Check that category pages have a relevant product explicitly listed for the
category.
Check that the correct count of total products is listed on the category pages.
☑ Test Case For Electric Bulb ☑ Test Case For Electronic Reader
Check that all the required fields are present on the registration page.
Check that the required/mandatory fields are marked with * against the field.
Check that for better user interface dropdowns, radio buttons and
checkboxes, etc.fields are displayed wherever possible instead of just
text boxes.
Check the page has both submit and cancel/reset buttons at the end.
Check that on clicking the submit button after entering all the required
fields, andthe data is sent to the server.
Check that clicking cancel/reset button after entering all the
required fields,cancels the submit request, and reset all the fields.
Check that whenever possible, validation should take place on the client-side.
Check that not filling the mandatory fields and clicking the submit
button willlead to the validation error.
Check that not filling the optional fields and clicking the submit
button will senddata to the server without any validation error.
Check the upper limit of the text boxes.
Check validation on the date and email fields (only valid dates and
valid email Idsshould be allowed.
Check validation on numeric fields by entering alphabets and special characters.
Check that leading and trailing spaces are trimmed.
Check that entering blank spaces on mandatory fields lead to validation error.
Check that the products displayed are related to what was searched for.
Check that the products should display an image, name, price,
and maybecustomer ratings and number of reviews.
Check the more relevant product for the search term is displayed on
the top for aparticular search term.
Check that all items on the next page are different from the previous
page, i.e., noduplicates.
Check that when both sorts and filters have been applied, they
remain as wepaginate or more products are loaded.
Check that count of products is correctly displayed on the search result
page for aparticular search term.
Check that filtering functionality correctly filters products based
on the filterapplied.
Check that filtering works correctly on category pages.
Check that filtering works correctly on the search result page.
Check that the correct count of total products is displayed after a filter is applied.
Check that all the sort options work correctly – correctly sort the
products basedon the sort option chosen.
Check that sorting works correctly on the category pages.
Check that sorting works correctly on the search result page.
Check that sorting works correctly on the pages containing the
filtered result,after applying filters.
Check that product count remains intact irrespective of the sorting option applied.
Verify that the added product is present on the wish list page.
Check that Update of the wish list is working correctly.
Check the Share wish list functionality.
Check that user can add products to the cart from the wish list page.
Product Details Page Test Cases
Check that on the product page, and a user can select the desired
attribute of theproduct, e.g., size, color, etc.
Check that users can add to cart one or more products.
Check that user can add products to the wish list.
Check that user can buy products added to cart after signing in to the
application(or as per the functionality of the website).
Check that user can successfully buy more than one products that
were added tohis/her cart.
Check that the limit to the number of products a user can by is
working correctly by displaying an error message and preventing the
user from buying more than thethreshold.
Check the availability of products at desired locations.
Check that Cash on the Delivery option of payment is working fine.
Verify that the different pre-paid methods of payments are working fine.
Check that product return functionality works fine.
Check that the Cancel Order option is present.
Check that After fill shipping address and payment, the product is
purchasedsuccessfully.
Check that Different payment types should be present, e.g., Credit
Card, PayPal,Bank Transfers, Installments, etc.
Check the security of the client’s card details when entered for payment.
Check that customer can cancel the order or change the quantity of the order.
Check that customer can Review recent order and history of purchased items.
Check that customers can Change information, such as billing address,
shipping address, change password, change profile information such as
name, email address, and even deleting an account.
Aim:
The user interface is an essential part of any ecommerce website. It's important to
ensure that the user interface is easy to use and navigate. Here are some user interface
test cases to consider:
Website has a professional and visually appealing design
The cart and checkout process is where users can review and complete their purchase.
Therefore, it's important to test this process thoroughly.
Here are some cart and checkout test cases to consider:
Users can add and remove products from their cart
The cart subtotal, taxes, and shipping costs are accurate
Users can enter their payment details securely
Users can place an order successfully
Users receive a confirmation email with the order details .
Payme nt Ga te way Tes t Cases f or Ec ommerc e We bsites:
Payment gateway testing is essential to ensure that users can make payments securely
and easily. Here are some payment gateway test cases to consider:
The payment gateway is secure and that sensitive data is protected
Users can enter their payment details without any issues
The payment gateway accepts different payment methods
Payment gateway has a clear and concise error message for any issues
Pe rf o rman c e T est Ca se s fo r E co m me rc e Web si t es:
Performance testing is essential to ensure that the website performs well under
different conditions. Here are some performance test cases to consider:
The website performs well under heavy traffic
The website loads quickly on different devices and internet connections
Website is optimized for different devices and screen sizes
The website can handle a large number of products and users
Aim:
To develop the test plan and design the test cases for an inventory control system.
Unit testing
White-box testing (also known as clear box testing, glass box testing,
transparent box testing, and structural testing) is a method of testing software
that tests internal structures or workings of an application, as opposed to its
functionality (i.e. black-box testing). In white-box testing an internal perspective
of the system, as well as programming skills, are used to design test cases.
Integration testing
System Testing
AIM:
To execute the test cases against a client server or desktop application and identify
the defects.
Desktop Testing:
A Desktop Application is a software program that is used to run on a
personal computer, machine, or laptop.
Required applications or software are installed on a stand-alone
machine and the installed application is accessible by only one user
at a time.
Hence, desktop application testing is also known as stand-alone
application testing.
Few desktop applications are MS-Office, Calculator, Adobe Acrobat
Reader, etc
Almost every tester might be involved in testing in any one of the testing
categories like Desktop application, Client-Server application, or Web
Application Testing.