User Story | Title | Description | Acceptance Criteria | Test Scenarios |
---|---|---|---|---|
US_01 | User Account Creation | As a user, I want to be able to register for our web store so that I can shop and access other features. | - I should be able to click the "Register" button on the homepage. - After entering my personal information, I should be able to successfully register by clicking the "Register" button. - I should be able to verify that the registration process is successful. | - The browser (Chrome, Safari, or Firefox) to be used for testing should be installed and started. - Internet access should be provided in the test environment. - The valid password must be at least 6 characters long. |
US_02 | Negative | User Account Creation | As a user, I want to see the error message when I try to register with the same email address, so that I can provide a better shopping experience. | - I should be able to click the "Register" button on the homepage. - When trying to register with the same email address, I should be able to see the message "The specified email already exists." |
US_03 | Logout | As a user, I want to be able to log out of my account on our web store so that my shopping is more secure. | I should be able to log out of the account. I should be redirected to the login page when I successfully log out. | - The user's account (user's email address and the user's password) must be successfully created and verified. |
US_04 | Login | As a user, I want to be able to log in to our web store so that I can manage my account, shop, and access other features. | - I should be able to click the "Login" button on the homepage. - After entering the valid email and password, I should be able to successfully log in by clicking the "Login" button. - I should be able to verify that the login process is successful. | - The user's account (user's email address and the user's password) must be successfully created and verified. |
US_05 | Negative | Login | As a user, I want to test various negative scenarios when logging in to our web store to ensure a secure login mechanism. | I should be able to click the "Login" button on the homepage. a) When trying to log in with empty email and password fields, I should be able to see the message "Login was unsuccessful." b) When trying to log in with a valid email and empty password, I should be able to see the message "Login was unsuccessful." c) When trying to log in with an empty email and valid password, I should be able to see the message "Login was unsuccessful." d) When trying to log in with invalid email or password, I should be able to see the message "Login was unsuccessful." |
US_06 | Place an Order | As a user, I want to be able to place an order for products from our web store, so that I can buy the desired items and make payments. | > I should be able to select a product from the product list on the homepage. > I should be able to add the selected product to the cart by clicking the "Add to Cart" button. > I should be able to verify that the selected product is displayed in my cart by going to the cart page. > I should be able to select appropriate options from the "Select Country" and "Select State" fields for shipping information. > I should be able to check the "Agree" checkbox to accept the terms. > I should be able to proceed to payment by clicking the "Checkout" button. > I should be able to enter payment details to confirm the order. > I should be able to verify that the message "Your order has been successfully processed!" is displayed, confirming that the order is successfully completed. | - The browser (Chrome, Safari, or Firefox) where the test scenario will be run must be installed and started. - Internet access should be provided in the test environment. - It should be confirmed that the products and prices are correctly displayed. - The user's account (user's email address and the user's password) must be successfully created and verified. - To place an order, the system must be logged in. |
US_07 | Respond to Survey | As a user, I want to be able to respond to a survey like "Community Pool" on our web store. There should be a "Submit" button to send the response. After submitting my response, I want to see the message "Only registered users can vote" (if I'm not logged in). After logging in, I want to see a results page displaying the responses. This way, customers who share their opinions strengthen their connection with the web store. | - I should be able to see a survey called "Community Pool" on the homepage. - I should be able to select "excellent," "good," "poor," or "very bad" options to respond to the survey. - There should be a "Submit" button to send the response. - After submitting my response, I should be able to see the message "Only registered users can vote" (if I'm not logged in). - After logging in, I should be able to see a results page showing the responses. The results should indicate how many votes were received for each option in the survey. | - The browser (Chrome, Safari, or Firefox) to which the test scenario will be run must be installed and started. - Internet access should be provided in the test environment. - If you need a user login, I should be able to log in with a valid user name and password. |
US_08 | Negative | Use Coupons and Gift Cards | As a user, I want to be able to use coupon codes and add gift cards while shopping on our web store. This helps me save money and earn rewards during my shopping. | - I should be able to select a product from the "Computers" category on the homepage. - I should be able to add the selected product to the cart by clicking the "Add to Cart" button. - I should be able to verify that the selected product is displayed in my cart by going to the cart page. - I should be able to add a coupon code for the product in my cart by clicking the "Apply Coupon" button. - After adding the coupon code, I should be able to verify that the coupon is successfully applied. - I should be able to add a gift card by clicking the "Add Gift Card" button. - After adding the gift card, I should be able to verify that the card is successfully added. - I should be able to proceed to payment by clicking the "Checkout" button. - I should be able to enter payment details to confirm the order. - I should be able to verify that the message "Your order has been successfully processed!" is displayed, confirming that the order is successfully completed. |
webshop_testcase's Introduction
webshop_testcase's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.