0% found this document useful (0 votes)
15 views4 pages

System Test

The document outlines a series of test cases for a user registration and management system, detailing the expected outcomes for various user actions. Out of 46 test cases, 41 passed, 1 failed, and 4 remain untested, indicating a high success rate in functionality. The tests cover user registration, login, profile management, product handling, and administrative tasks, ensuring comprehensive system validation.

Uploaded by

huylqhe170039
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

System Test

The document outlines a series of test cases for a user registration and management system, detailing the expected outcomes for various user actions. Out of 46 test cases, 41 passed, 1 failed, and 4 remain untested, indicating a high success rate in functionality. The tests cover user registration, login, profile management, product handling, and administrative tasks, ensuring comprehensive system validation.

Uploaded by

huylqhe170039
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

Pass: 41

Module Fail: 1
Code
Tester Nguyễn Đắc Hoàng Đạt Percent Complete: 17.83%
Lê Minh Đức
ID Test Case Description Pre -Condition Test Case Procedure
1 The user fail to register User is not registered Step 1: Users enter invalid information,
checkAccountExist (Cusomer) - set a password of less than 3 characters
2 User Registration User is not registered Step 1: Click "Don't have an account?- Sign
checkAccountExist (Cusomer) up" then the user will be redirected to the
3 User Login User is registered Step 1 : Enter valid login credentials
checkUser (Customer) Step 2: Click "Login"
4 User Profile User is logged in Step 1 : Click the user icon
getUserById(Customer)
5 User Login fail User is registered Step 1: Users enter invalid information
checkUser (Customer) - set a password of less than 3 characters
6 Change User Information By User is logged in Step 1: Enter valid information corresponding
Id(Customer) to the parts you want to change
7 Change Password By Id (Customer) User is logged in Step 1: Click user icon to access user profile
Step 2: Click "Change Password " in
8 Delete Account (Customer) User is registered Step 1: Click user icon to access user profile
Step 2: Click check box to confirm delete
9 Login with Google (Customer) email is registered Step 1: Click "Login with google"
Step 2: Enter your email and password
10 High User Login admin already exist Step 1 : Enter valid login credentials
checkUser (admin) Step 2: Click "Login"
11 Remenber me for High User Login admin already exist Step 1 : Enter valid login credentials
checkUser (admin) Step 2: Click checkbox "Remember me"
12 Season Collection Edit(High User) Must be logged in as high user Step 1: Choose Marketing in the side bar
Step 2: Choose "Season Collection (Home
13 Category Edit(High User) Must be logged in as high user Step 1: Choose Marketing in the side bar
Step 2: Choose "Category (Home Page)" from
14 Season Collection Promotion Edit(High Must be logged in as high user Step 1: Choose Marketing in the side bar
User) Step 2: Choose "Season Collection (Update
15 Shop the collection(Customer) none Click "Shop the collection" in the home page
16 Promotion by Collection(Customer) none The promotion corresponding to the collection
is automatically displayed
17 Forgot password High User (High admin already exist Step 1: Click "Forgot password" in login High
User) User
18 Search Product By Name (Customer) None Step 1: Click the search icon in the header
Step 2: Input name of wanted product
19 Filter Product By Category (Customer) None Choose a category in category section
20 Get new Arrivals Product (Customer) None Choose new arrival in new arrival section
21 Filter Product By Color (Customer) Must filter Product By Category first Choose a color in color section
22 Get Product Detail (Customer) Product must in database Choose a product that user want to view
23 Get Stories List (Customer) None Click "story' in the header
24 Get Stories Detail (Customer) Story must in database Choose a user that user want to view
25 Get variation list (High User) Must be logged in as high user Choos "Product List" in menu
26 Search Variation By Product Name (HigMust be logged in as high user Step 1: Input name of wanted product
Step 2: Enter
27 Sort variation by asc, desc (High User) Must be logged in as high user Choos sort type (Sort by Latest/ Sort by Newest
28 Sort variation by Product Price (High User) Choos sort type (Sort by Price: Up/ Sort by Pric
29 Filter Variation By Product Category (H Must be logged in as high user Choose a category in category section
30 Create new Product (High User) Must be logged in as high user Input Product Name, Category, Price, Collection, Description
There are no products with the same name Click button "Create new Product"
31 Create new Image File (High User) Must be logged in as high user Input image name, color of product, thumbnail image, image 1, 2, 3
The image name must be the same as the product that Clickl
needs
button
this"Create
photo new Image File"
32 Create new variation (High User) Must be logged in as high user Input productID, color, size, quantity in stock, product img ID
This is a table to connect product, color of product, size,
Clickl
quantity
button in
"Create
stock, new
product
Image
image,
File"so it is necessary to have product and p
33 Delete Variation (High User) Must be logged in as high user Click action and delete
Variation want to delete must have in database
34 Delete Product (High User) Must be logged in as high user Auto delete when No variation containing produ
No variation containing product that want to delete
35 Delete Image File (High User) Must be logged in as high user Click action and delete
No variation containing product Image file that want to delete
36 Edit Product information (High User) Must be logged in as high user Click action and edit product ìnormation
Product want to edit must have in database Input category, price, collection, description (Cant change product name)
37 Edit Variation Color, Size, product Img Must be logged in as high user Click action and edit variation
Variation want to edit must have in database Input color, size, product img ID
38 Edit Variation Quantity in Stock (High UMust be logged in as high user Click action and edit variation
Variation want to edit must have in database Input Quantity in stock
39 Edit Product Image (High User) Must be logged in as high user Click action and edit Product Image
Product Image file want to edit must have in database Input thumbnail image, product image 1,2,3 (Cant change image name)
40 Get User List (High User) Must be logged in as high user Choose "User List" in menu
41 Search User By Name (High User) Must be logged in as high user Step 1: Input name of wanted User
Step 2: Enter
42 Sort user by asc, desc (High User) Must be logged in as high user Choos sort type (Sort by Latest/ Sort by Newest
43 Filter User by Category (High User) Must be logged in as high user Choose a category in category section
44 Create new User (High User) Must be logged in as high user Input Username, password, email, firstname, last name, date of birth, gender,
There are no user with the sam username and email Click button "save" or cance
45 Edit User (High User) Must be logged in as high user Input Username, password, email, firstname, last name, date of birth, gender,
There are no user with the sam username and email Click button "save" or cance
46 Create new Promotion (High User) Must be logged in as high user
There are no promtion with the same name,….
Untested: 4
N/A: 0
Number of cases: 46
Test date
Expected Output Result Bug# Note
(dd/mm/yyyy>
Display the message "Password Pass 13-Jul Alternative flow
must be between 3 and 20
User is successfully registered Pass 13-Jul Normal flow
and redirected to the login page
User is successfully logged in Pass 13-Jul Normal flow
and redirected to the
the user navigates to the user Pass 13-Jul Normal flow
profile page and displays
display the message "Email or Pass 13-Jul Alternative flow
Password is incorrect or not
The information is changed and Pass 13-Jul Normal flow
displayed right at the user
Information is changed and Pass 13-Jul Normal flow
displayed right at the user
The account information about Pass 13-Jul Normal flow
the user will be deleted from
Login successfully and send Fail SEVERE [http-nio-8080-exec-10] 13-Jul Normal flow
directed to home page org.apache.catalina.core.Standar
adminis successfully logged in Pass 13-Jul Normal flow
and redirected to the
adminis successfully logged in Pass 13-Jul Normal flow
and redirected to the
display the message "Update Pass 13-Jul Normal flow
successfully" and will change
display the message "Update Pass 13-Jul Normal flow
successfully" and will change
display the message "Update Pass 13-Jul Normal flow
successfully" and will change
Display the list of products Pass 13-Jul Normal flow
included in the bottom
The promotion corresponding to Pass 13-Jul Normal flow
the collection will be displayed
The system checks if an email Untest Normal flow
exists or not, if so, it will switch
List of product searched by namePass will be printed 13-Jul Normal flow
If list print nothing, it means there are no products matching input by users
List of product filterd by categoryPass 13-Jul Normal flow
List of product sorted by desc Pass 13-Jul Normal flow
List of product filtered by catego Pass 13-Jul Normal flow
Product detail will be printed Pass 13-Jul Normal flow
List of Story will be printed Pass 13-Jul Normal flow
Story detail will be printed Pass 13-Jul Normal flow
Passthe name of "Products"
List of variation will be printed under 13-Jul Normal flow
List of Product Image will be printed
List of variation searched by name Pass
will be printed 13-Jul Normal flow
If list print nothing, it means there are no products matching input by users
If Sort by Latest -> List of productPass
sort by asc 13-Jul Normal flow
If Sort by Newest -> List of product sort by desc
Passsort by Product Price asc
If Sort by Price: Up -> List of product 13-Jul Normal flow
If Sort by Price: Down -> List of product sort by Product Price desc
List of variation filterd by catego Pass 13-Jul Normal flow
If the input condition is true, create
Pass
done 13-Jul Normal flow
Else error will be print "Product's already in the database with id = ..."
If the input condition is true, create
Pass
done 13-Jul Normal flow
Else error will be print "IMAGE NAME must be the same as a product name in product"
If the input condition is true, create
Pass
done 13-Jul Normal flow
if color doesn't match product img id color, "Must choose an image folder that matches the color"
Delete done Pass 13-Jul Normal flow
Delete done Pass 13-Jul Normal flow
Delete done Pass 13-Jul Normal flow
If the input condition is true, cre Pass 13-Jul Normal flow
Pass
If the input condition is true, create done 13-Jul Normal flow
if color doesn't match product img id color, "Must choose an image folder that matches the color"
If the input condition is true, cre Pass 13-Jul Normal flow
If the input condition is true, cre Pass 13-Jul Normal flow
List of user will be prrinted Pass 13-Jul Normal flow
List of user will be prrinted Pass 13-Jul Normal flow
If Sort by Latest -> List of user sort by asc
Pass 13-Jul Normal flow
If Sort by Newest -> List of user sort by desc
List of user will be prrinted Pass 13-Jul Normal flow
If the input condition is true, create done
Untest Normal flow
Else error will be print
If the input condition is true, create done
Untest Normal flow
Else error will be print
Untest

You might also like