0% found this document useful (0 votes)
16 views63 pages

SWT301 Test Case

123

Uploaded by

khanh duy
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)
16 views63 pages

SWT301 Test Case

123

Uploaded by

khanh duy
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
You are on page 1/ 63

Duplicate of SWT301_Test_Case

Khánh
Name
Function M: Test cases for Premium upgrade
Subitems

Function P: Test Cases for Admin's Dashboard


Subitems
Function S: Test Cases for "Quản lý hồ cá" Section
Subitems

Function T: Test Cases for "Quản lý cá Koi" Section


Subitems

Định
Name
Valid Inputs for Comment
Subitems

Create Comment
Subitems
Update Comment
Subitems

Delete Comment
Subitems

Get Comment
Subitems

Valid Inputs for Advertisement


Subitems

Create Advertisement
Subitems
Get Advertisements
Subitems

Update Advertisement
Subitems

Delete advertisement
Subitems

Verify Pending Advertisments


Subitems

Ngọc
Name
Login Function
Subitems
Register Function
Subitems
LogOut Function
Subitems

Profile detail Function


Subitems

Edit Profile Function


Subitems

Thắng
Name
Function A
Subitems
Function F
Subitems

Function J
Subitems
correct CVV code., Test the cancel payment feature., Verify error message when the account balance is insufficient for paymen
Name
Verify the display of monthly and yearly subscription plans on the payment page.
Test the selection of the monthly plan.
Test the selection of the yearly plan.
Verify successful payment process for the monthly plan.
Verify successful payment process for the yearly plan.
Verify error message when using an expired credit card.
Verify error message when entering an incorrect CVV code.
Test the cancel payment feature.
Verify error message when the account balance is insufficient for payment.
Verify system behavior when there is a network error during payment.
Verify error handling when entering an invalid card number.
Verify user account status is updated after successful payment.
Verify the payment page supports multiple payment methods (e.g., credit card, PayPal, bank transfer).
Verify system behavior when payment is attempted with a blocked or blacklisted card.
Verify the user's email is correct in the checkout page
Verify the system does not allow duplicate subscriptions if the user is already subscribed.
Return to the home page after successful payment
home page, Verify that admin receives a confirmation prompt before deleting a tank specification., Function Q: Test Cases for "
Name
Verify that admin receives a confirmation prompt before deleting a tank specification.
Verify that the redirect to Dashboard after login Admin
Verify the "Số lượng User" statistic fields
Verify the "Số lượng Member" statistic fields
Verify the "Tổng số lượng cá Koi" statistic fields
Verify the "Tổng số lượng Tank" statistic fields
Verify the home button to return to the home page
Function Q: Test Cases for "Bảng thống kê" Section
Verify that the welcome message remains visible in "Bảng thống kê" section.
Function R: Test Cases for "Quản lý người dùng" Section
Verify that the welcome message remains visible in "Quản lý người dùng" section.
Verify when click the "Edit" button
Verify When click the "Xóa" button
Verify that administrators receive a confirmation prompt before deleting users.
Verify functionalities in "Quản lý người dùng" section, including viewing, editing, and deleting users.
Verify system behavior when there is a network error during payment., Verify successful payment process for the monthly p
Name
Verify successful payment process for the monthly plan.
Verify successful payment process for the yearly plan.
Verify error message when using an expired credit card.
Verify error message when entering an incorrect CVV code.
Test the cancel payment feature.
Verify system behavior when there is a network error during payment.
Verify the display of monthly and yearly subscription plans on the payme
Name
Verify the display of monthly and yearly subscription plans on the payment page.
Test the selection of the monthly plan.
Test the selection of the yearly plan.
Verify error message when the account balance is insufficient for payment.

Validate the Content is not


Name
Validate the Content is not null
Validate the Content's length is under 1000 characters
Validate the Blog is not null
Validate the Blog is existed
Create comment fails when us
Name
Create comment fails when user is not logged in
Verify User Information
Validate CommentDate field
Create comment successfully with valid inputs
Update with null comment Conte
Name
Update with null comment Content
Update with comment Content too long
Update comment fails by non-owner
Update comment successfully by owner
Delete comment fails
Name
Delete comment fails by non-owner
Delete comment successfully by Blog owner
Delete comment successfully by Comment owner

Name
Get comments by BlogID
Validate the Price is float, Validate the Element is null, Validate the Element is existed, Validate the Category is null, Va
Name
Validate the Title is not null
Validate the Description is not null
Validate the Description length is under 1000 characters
Validate the Price is not null
Validate the Price is float
Validate the Element is null
Validate the Element is existed
Validate the Category is null
Validate the Category is existed
Validate input set of Images
Create Advertisement with va
Name
Create Advertisement with valid inputs
Create Advertisement with Guest or User account
Verify User information
Verify CreateDate
Verify Status
Get all advertise
Name
Get all advertisements
Get verified advertisements
Get pending advertisements
Get advertisement by AdvertisementID
sement with null Category, Update advertisement with Category not existed in database, Update advertisement with valid inputs
Name
Update advertisement with null Title
Update advertisement with null Description
Update advertisement with non-owner account
Update advertisement with null Element
Update advertisement with Element not existed in database
Update advertisement with null Category
Update advertisement with Category not existed in database
Update advertisement with valid inputs

Name
Delete advertisement with Admin Account
Delete advertisement with non-owner Account

Name
Verify pending advertisements

box validation, Test Email text box validation, Test Email text box validation, Test password text box, Test password text box, T
Name
Test Login Form
Test Email text box validation
Test Email text box validation
Test Email text box validation
Test password text box
Test password text box
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form
Test Login form
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form
Test Login form
Test Login form
Test Login form
Test Login form
Test Login form
st Register form, Test Register form validation, Test Register form validation, Test Register form validation, Test Register form v
Name
Test Register form
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form
Test Register form
Test Register form

Name
Test LogOut

Name
Test Profile page
Test edit profile form, Test edit profile form validation, Test edit profile form validation, Test edit profile for
Name
Test edit profile form
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation

rrect calculation of Element ID for a valid birth year, Verify incorrect calculation of Element ID for a null birth year, Validate the D
Name
Verify incorrect calculation of Element ID for a null birth year
Verify correct calculation of Element ID for a valid birth year
Validate the DOB to calculate element in UI
Validate the DOB to calculate element
Verify calculation element function with no login in UI
Verify calculation element function with login in UI
Verify calculation element function with no login
UI, Verify add blog function with role admin in UI, Verify add blog function with wrong role, Verify add blog function with valid inp
Name
Verify add blog function with wrong role in UI
Verify add blog function with role admin in UI
Verify add blog function with wrong role
Verify add blog function with valid input
Verify add blog function with empty title
Verify add Get Blog by Id function with non-existing blogID in system
Verify update Blog function with valid input
Verify update Blog function with empty title
Verify update Blog function with non-existing blog Id
Verify Delete Blog function
Verify Delete Blog function with non-existing blog Id
Verify add blog function with valid input
Verify add blog function with empty title in UI
Verify add blog function with empty imageURL in UI
Verify add blog function with different type of imageURL in UI
xisting shape of tank in system, Verify elementFromShape method with a non-existing shape of tank in system, Verify compatib
Name
Verify elementFromColor method with a existing color of Koi fish in system.
Verify elementFromColor method with a non-existing color of Koi fish in system.
Verify elementFromShape method with a existing shape of tank in system
Verify elementFromShape method with a non-existing shape of tank in system
Verify compatibilityScore method with only neutral relationships in fish elements.
Verify compatibilityScore method with both favorable and unfavorable relationships in fish elements.
Verify compatibilityScore method when tank element is unfavorable.
Verify chatCompletion method with null request.
Verify chatCompletion method with a valid request but ChatGPT returns no response.
Verify chatCompletion method with a invalid request for chatCompletion
Verify compatibilityScore method when request input is not invalid
Verify calculate Element Compatibility function with no subscription packgage in UI
Verify Element Compatibility function calculation when exceeding the number of fish selected in UI
Verify Element Compatibility function calculation when exceeding the number of tank selected in UI
Verify Element Compatibility function calculation with wrong role(role user)
Verify Element Compatibility function calculation when null fish input in UI
Verify Element Compatibility function calculation when api key of Chatgpt is expired
Verify Element Compatibility function calculation when api key of Chatgpt is missing
Verify Element Compatibility function calculation when null tank input in UI
Verify Element Compatibility function calculation when null user's element input in UI
Verify search function with colors of koi fish
Verify chatCompletion method with a valid request when connect bad
Verify chatCompletion method with a empty request for chatGptCompletion method
Test Case Procedure Expected Output Inter-test case Dependence
ment., Verify the payment page supports multiple payment methods (e.g., credit card, PayPal, bank transfer)., Verify system be
Owner Status Date

ge remains visible in "Quản lý người dùng" section., Verify when click the "Edit" button, Verify When click the "Xóa" button, Verif
Owner Status Date
el payment feature.
Owner Status Date

Owner Status Date

Test Case Procedure Expected Output Inter-test case Dependence

Owner Status Date


Done
Done
Working on it
Done

Owner Status Date


Done
Done
Done
Done

Owner Status Date


Done
Done
Working on it
Done

Owner Status Date


Done
Done
Done

Owner Status Date


Done
Price is not null
Owner Status Date

Owner Status Date


Done
Done
Done
Done
Done

Owner Status Date


Done
Done
Done
Done
t with Element not existed in database
Owner Status Date
Done
Done
Working on it
Done
Done
Done
Done
Done

Owner Status Date


Done
Working on it

Owner Status Date


Working on it

Test Case Procedure Expected Output Inter-test case Dependence


n, Test Login form validation, Test Login form validation, Test Login form, Test Login form, Test Login form
Owner Status Date
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
r form, Test Register form
Owner Status Date
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. Scroll down a bit and Click "Đ
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. Scroll down a bit and Click
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. Scroll down a bit an
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. S
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. Scroll down a bit a
Truong Bao Ngoc K18 HCM Done 1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" b

Owner Status Date


Truong Bao Ngoc K18 HCM Done

Owner Status Date


Truong Bao Ngoc K18 HCM Done

Owner Status Date


Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done
Truong Bao Ngoc K18 HCM Stuck
Truong Bao Ngoc K18 HCM Done 1. Click the "Chỉnh sửa thông tin" butto
Truong Bao Ngoc K18 HCM Done 1. Click the "Chỉnh sửa thông tin" button 2.
Truong Bao Ngoc K18 HCM Done 1. Click the "Chỉnh sửa thông tin" button 2

Test Case Procedure Expected Output Inter-test case Dependence


n element function with no login
Owner Status Date
Do Van Thang Stuck
Do Van Thang Done
Do Van Thang Stuck
Do Van Thang Stuck
Do Van Thang Done
Do Van Thang Done
Done
mpty title, Verify update Blog function with non-existing blog Id, Verify Delete Blog function, Verify Delete Blog function with non
Owner Status Date
Done
Done
Done
Done
Stuck
Done
Done
Stuck
Done
Done
Done
Done
Done
Done
Stuck
method when tank element is unfavorable., Verify chatCompletion method with null request., Verify chatCompletion method with
Owner Status Date
Done
Done
Done
Done
Done
Done
Done
Stuck
Working on it
Stuck
Stuck
Done
Done
Done
Done
Done
Stuck
Stuck
Done
Done
Done
Working on it
Done
Result Test date
ank transfer)., Verify system behavior when payment is attempted with a blocked or blacklisted card., Verify the user's email is c
Result Test date
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
hen click the "Xóa" button, Verify that administrators receive a confirmation prompt before deleting users., Verify functionalities i
Result Test date
Fail 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Untesed 2024-07-11
Pass 2024-07-11
Pass 2024-07-11

Pass 2024-07-11
Fail 2024-07-11
Fail 2024-07-11
Pass 2024-07-11
Pass 2024-07-11

Result Test date


Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11

Result Test date


Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
Pass 2024-07-11

Result Test date

Result Test date

Result Test date


Result Test date

Result Test date

Result Test date

Result Test date

Result Test date


Result Test date

Result Test date

Result Test date

Result Test date

Result Test date

Result Test date


Result Test date

1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" butto
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" bu
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the
2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. not input username (3-20 cha
e. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 char
me Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ng
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. in

me Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-
n a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input

Result Test date

Result Test date

Result Test date

1. Click the "Chỉnh sửa thông tin" button 2. change into right format
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the p
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật
the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's tex
"Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text bo
e "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text b

Result Test date

Result Test date


y Delete Blog function with non-existing blog Id, Verify add blog function with different type of imageURL in UI
Result Test date

ify chatCompletion method with a valid request but ChatGPT returns no response., Verify chatCompletion method with a invalid
Result Test date

1. Login the system with member role 2. Set valid input for userElement, fishElement, tank
1. Login the system with member role 2. Set invalid input for compatibilityScore metho
1. Login the system with member role2. Set valid input for userElement, fishElement, ta
1. Login the system with member role2. Set valid input for userElement, fish
Note
ment is attempted with a blocked or blacklisted card., Verify the user's email is correct in the checkout page, Verify the system d
Test Case Procedure
1. Open the payment page.
2. Check if both monthly and yearly plans are displayed.
1. Select the monthly plan on the payment page.
2. Proceed to checkout.
1. Select the yearly plan on the payment page.
1.2.Select
Proceed to checkout.
the monthly plan.
2. Enter valid payment information.
1. 3.
Select the yearly
Confirm payment. plan.
2. Enter valid payment information.
3.
1.Confirm payment.
Select any plan.
2. Enter expired card details.
1. Select any plan.
2. Enter card details with an incorrect CVV.
1. Select any plan.
2. Click "back" before confirming payment.
1.Select any plan.
2.Enter payment 1.Select
details with
anyan
plan.insufficient balance.
2.Enter payment details.
1.Select anyduring
3.Simulate a network interruption plan. the payment process.
2.Enter an invalid card number (e.g., random numbers or incorrect form
1.Complete 3.Confirm payment.
a payment for any plan.
2.Check the user account 1.Open the payment reflects
status to ensure it page. the active subscrip
2.Check if multiple payment options (credit card, PayPal, bank transfer) are availab
1.Select
3.Select each option individually andany subscription
proceed plan.step to ensure func
to the next
2.Enter payment information for a blocked or blacklisted card.
3.Attempt
1. Usertoiscomplete
at Paymentthe Page
payment.
2.Look at Email section.
1.Log in with a user who already has an active subscription.
2.Attempt to purchase the same plan again.

ors receive a confirmation prompt before deleting users., Verify functionalities in "Quản lý người dùng" section, including viewin
Test Case Procedure
1,Log in as admin.
2,Navigate to the tank list.
3,Attempt
1. Log intoasdelete a tank.
an admin.
2. 1.
Observe
Log in the Dashboard.
as an admin.
2. Navigate to the Admin Dashboard.
3. Check the1. Log in as an
"Số lượng admin.
User" statistic fields
2. Navigate to the Admin Dashboard.
1. Log in as an admin.
3. Check the "Số lượng Member" statistic fields
2. Navigate to the Admin Dashboard.
1. Logsốinlượng
3. Check the "Tổng as an cá
admin.
Koi" statistic fields
2. Navigate to the Admin Dashboard.
3. Check the "Tổng1. Logsốinlượng
as admin.
Tank" statistic fields
2. Press the "Quản lí" button.
3.Press home button.
1. Log in as an admin.
2. Navigate to the Admin Dashboard.
3. Click on the "Bảng thống kê" section.
4. Check to see if the welcome message is still displayed.
1. Log in as an admin+ Navigate to the Admin Dashboard.
2. Click on1.the "Quản
Log in as lý người dùng" section.
administrator
3. Check to 2.Navigate
see 1.
if the
Logwelcome
to as
in message
theadministrator
Admin is still displayed.
Console.
3. Click on to
2.Navigate "Quản lí người
the Admin dùng".
Console.
3. 4. Click
Click the "Edit"
"Quản lí ngườibutton.
dùng".
1,Log
4. Clickin the
as administrator.
"Xóa" button.
2,Navigate to the
5. Press the"Quản lí người dùng"
"Ok" button.
3,Press the "Xóa"
1,Log in as an administrator.button.
2,Navigate to the "Quản lý người dùng" section.

Test Case Procedure


1. Select the monthly plan.
2. Enter valid payment information.
1. 3.
Select the yearly
Confirm plan.
payment.
2. Enter valid payment information.
3.
1.Confirm payment.
Select any plan.
2. Enter expired card details.
1. Select any plan.
2. Enter card details with an incorrect CVV.
1. Select any plan.
2. Click "back" beforeany
1.Select confirming
plan. payment.
2.Enter payment details.
3.Simulate a network interruption during the payment process.

Test Case Procedure


1. Open the payment page.
2. Check if both monthly and yearly plans are displayed.
1. Select the monthly plan on the payment page.
2. Proceed to checkout.
1. Select the yearly plan on the payment page.
2. Proceed to checkout.
1.Select any plan.
2.Enter payment details with an insufficient balance.

Note

Test Case Procedure 1. Login


2. Go to "Blog"
3. Choose to Blog1. Login
you want to comment
2. Go
4. Create a commentto "Blog"
with null Content
3. Choose to Blog1. Login
you want to comment
4. Create a comment2.withGo Content
to "Blog"over 1000 characters
1. Login
3. Choose to Blog you want to comment
4. Create a2.comment
Go to "Blog"
with null Blog
3. Choose to Blog you want to comment
4. Create a comment with Blog not existed in database
Test Case Procedure
1. Not login
2. Go to "Blog"
1. Login
3. Choose to2.Blog Go you want to comment
to "Blog"
1. Login
3. Choose as owner
to Blog comment
you want to comment
2.
4. Check User information in1.the Go to "Blog"
advertisement you have created
3. Choose to Blog Login you want to comment
4. Check CommentDate2. in Go
theto "Blog"
advertisement you have created
3. Choose to Blog you want to comment
4. Create a comment with valid inputs
1. Login as owner comment
Test Case Procedure 2. Go to "Blog"
1. Login
3. Choose to Blog as owner comment
you have commented
2. Go to "Blog"
4. Choose the comment you want to update
3. Choose
1. 5.
Login toas
Click Blog you
nhậthave
non-owner
"Cập commented
comment
bình luận"
4. Choose 1. Login
the 2. as owner
comment
Go in comment
you want
to Content
"Blog" to update
5. Input null field
3. Choose to2.
5. Click Go you
"Cập
Blog to "Blog"
nhật bìnhcommented
have luận"
4.3.
5. Input Choose
more than
Choose theto comment
Blog
1000you have
characters commented
you want in to
Content
updatefield
4. Choose the comment you want
5. Click "Cập nhật bình luận" to update
5. Click "Cập nhật bình luận"
6. Fill valid inputs
Test Case Procedure 1. Login as non-owner7. Clickcomment
"Cập nhật"or non-owner blog
2. Go to "Blog"
3. Choose to1.Blog Login aswant
you ownerto blog
delete comment
4. Choose the 2. Go
commentto "Blog"
you want to delete
3. Choose1.to Login as
5.Blog
Click youowner
"Xóawant comment
toluận"
bình delete comment
4. Choose the2. Go to "Blog"
comment you want to delete
3. Choose to 5. Clickyou
Blog "Xóawant toluận"
bình delete comment
4. Choose the comment you want to delete
5. Click "Xóa bình luận"
Test Case Procedure
1. Either login or not
2. Go to "Blog"
3. Click "Bình luận"

Test Case Procedure 1. Login as Member or Admin


2. Go to "Quảng Cáo"
1.3.Login
Clickas
onMember or Admin
"Tạo quảng cáo"
4. Create 2. Go to "Quảng
a advertisement Cáo"
with null Title
1.3.Login as Member or Admin
Click on "Tạo quảng cáo"
2.
4. Create1.aLogin Go to
advertisement"Quảng Cáo"
with
3. ClickasonMember or null
"Tạo quảng AdminDescription
cáo"
2.
4. Create a advertisement Go to "Quảng Cáo"
with Description over 1000 characters
1.3.Login
Clickas
onMember or Admin
"Tạo quảng cáo"
4. Create 2. Go to "Quảng
a advertisement Cáo"
1.3.Login
Clickas
onMember orwith
"Tạo quảng
null Price
Admin
cáo"
2. Go to "Quảng
4. Create a1.advertisement Cáo"type is string,...
with Price
3.Login
Clickas
onMember or Admin
"Tạo quảng cáo"
4. Create a2.advertisement
Go to "Quảngwith Cáo"null Element
1.3.Login
Clickas
onMember or Admin
"Tạo quảng cáo"
4. Create a advertisement2. Go to "Quảng
with Cáo"
Elementor not existed in the database
1.3.Login
Click as
on Member
"Tạo quảng Admin
cáo"
4. Create 2. Go to "Quảngwith Cáo"
1.3.a advertisement
Login
Click as
on Member
"Tạo quảng
null Category
or Admin
cáo"
4. Create a advertisement 2. Go
withtoCategory
"Quảng Cáo"
not existed in the database
3. Click on "Tạo quảng cáo"
4. Create a advertisement with set of Images
Test Case Procedure 1. Login as a Member or Admin
2. Go to "Quảng Cáo"
3. Click on "Tạo quảng cáo"
4. Create a advertisement with valid inputs
1. Either login as Registered User or not login
2. Go to "Quảng Cáo"
3. Click
1. Login as onMember
"Tạo quảng cáo"
or Admin
2.4.
GoCreate a advertisement.
to "Quảng Cáo Của Tôi"
3. Check1. User
LoginInformation
as Memberon or Advertisement
Admin
2. Go to "Quảng Cáo Của Tôi"
1. Login
3. Check as Member
CreatedDate on or Admin
Advertisement
2. Go to "Quảng Cáo Của Tôi"
3. Check Status on Advertisement

Test Case Procedure


1. Login as Admin
2. Go to "Quảng Cáo"
3. Click1.onEither
"Danh sách
login orquảng
not cáo"
2.1.Go to "Quảng
Login Cáo"
as Admin
2. Go to "Quảng Cáo"
3. Click1.onEither logincáo
"Quảng or not
đang chờ"
2. Go to "Quảng Cáo"
3. Click on "Tìm Quảng Cáo"

Test Case Procedure 1. Login as owner of the advertisement user want to update
2. Go to "Quảng Cáo"
1. Login as owner of the
3. Click onadvertisement
"Quảng cáo của usertôi"want to update
2. Go to "Quảng
4. Click on "Cập nhật quảng cáo"Cáo"
3. Click
1. Login as non-owner 5. of onthe"Quảng
Input cáo field
advertisement
null in Title củauser
tôi" want to update
1. Login as owner of 4. Click
2.the on "Cập
Go advertisement
to "Quảng Cáo"nhật"
user want to update
5. Click
3. Input
2. Go nullto
on in"Quảng
Description
"Quảng cáo củafield
Cáo" tôi"
1. Login as owner of the
4.3.Click
Click on advertisement
on"Cập"Quảngnhậtcáo
quảnguser
của tôi"want to update
cáo"
4. Click2. Go to
on "Cập "Quảng Cáo"
nhật quảng cáo"
1. Login as owner of the
3. Click onadvertisement
"Quảng cáo củausertôi"want to update
5.2.Input
Go null
to Element
"Quảng field
Cáo"
4. Click
1. Login as owner on "Cập
of the nhật quảng
advertisement usercáo"want to update
5. Input 3. Click
Element not on "Quảng
existed in cáo của
database tôi"
in Element field
1. Login as non-owner 2. Go
4. Clickofonthe to "Quảng Cáo"
advertisement
"Cập nhật quảng usercáo" want to update
3.5.Click
2. Go
Input onnull"Quảng
to "Quảng cáo của
Cáo"
in Category tôi"
field
4.3.Click
Clickon on"Cập"Quảngnhậtcáo
quảng
của cáo"
tôi"
5. Input Category
4. Clicknoton existed in database
"Cập nhật quảng cáo"in Category field
5. Input valid inputs
6. Click on "Cập nhật"
Test Case Procedure 1. Login as non-owner of the advertisement user want to update
2. Go to "Quảng Cáo"
1. Login 3.
asChoose
non-owner
the of the advertisement
advertisement you wantusertowant to update
delete
2. Go to "Quảng
4. Click on "Xóa" Cáo"
3. Choose the advertisement you want to delete
4. Click on "Xóa"
Test Case Procedure 1. Login as Admin
2. Go to "Quảng Cáo"
3. Click on "Quảng cáo đang chờ"
4. Choose the advertisement you want to verified or rejected
5. Click on "Xác nhận"

Note

Test Case Procedure


1. Go to Home Page.
2. Scroll down a bit and 1. Go Click "ĐăngPage.
to Home nhập" button on the right.
2. Scroll down a bit and Click "Đăng nhập" button on the right.
3. Input wrong format of email(without 1. Go to@) Home
into Page.
Email's text box into Email's t
2. Scroll down a bit and Click "Đăng nhập" button on the right.
1. Go to Home Page.
3. Input wrong format of email(without gmail.com) into Email's text bo
2. Scroll down a bit and Click "Đăng nhập" button on the right.
4. Input another email 1. Go to Home Page. into Email's text box
format(@outlook.com)
2. Scroll down a bit and 1. Go Click "ĐăngPage.
to Home nhập" button on the right.
3.
2. Scroll down a bit and Input
1. Go an
Click random password
"ĐăngPage.
to Home nhập" button on the right.
2. Scroll down a 3. bitInput an random
and Click "Đăng password
nhập" button on the right.
4.3.Press
Input therighticonformat1.
of Go ofto
the Home
Password's
email withPage.
antext box on the
unregisted right
email
2. Scroll
4. Input wrongdown a bitof
format and Click "Đăng
password with nhập"
at leastbutton
6 on the right.
characters(12345)
3. Input right 1. Goof
format toemail
Homewith Page.an registed email
2. Scroll down a 5.
bit Press
and "Đăng
Click nhập"
"Đăng button
nhập" button on thepasword(
right.
4. Input right format of password with 1. Go at least
to Home6 characters
Page. but wrong
3. Input right5.format of
PressClick email with
"Đăng nhập" an unregisted
button email
2. Scroll
4. Input rightdown
formata bit of andpassword"Đăng with atnhập"
least button on the right.
6 characters(123456)
3. Input right format
5. Press of email
"Đăng with
nhập" an registed
button email
4. Input right password and format 1. Go of to Home
Password's Page.text box with at least 6 cha
2. Scroll down a 5. bit Press
and
1. Go Click "Đăng
to Home
"Đăng nhập" nhập"
Page. button on the right.
button
2. Scroll down3.aClick bit and theClick
"Quên mật nhập"
"Đăng Khẩu ?" link on the right.
button
3. Click1.the Go"Quên
to Home mậtPage.
Khẩu ?" link
2. Scroll down a bit 4. andinput Click
wrong "Đăng
email nhập"
formatbutton on the right.
3. Click1.the Go"Quên
to Home mậtPage.
Khẩu ?" link
2. Scroll4.down
input aright bit and1. Go
email Click "Đăng
to Home
format nhập"
Page.
with buttonemail
unregisted on the right.
2. Scroll down3.aClick bit and1.
theGo to Home
"Quên
Click mậtPage.
"Đăng Khẩu ?"
nhập" link on the right.
button
2. Scroll 4.
down 3.aClick
input bit and
right Click
email "Đăng nhập" button on the right.
3. Click 1.the
the toformat
Go"Quên
"Quên Homemật
mật
with
Khẩu
Page.
Khẩu
registed
?"
?"
linkemail
link
2. Scroll 4.
downinputa right
bit and1. Go
email to
Click Home
format
"Đăng Page.
with
nhập"registed
button email
on the right.
2. Scroll 4.
downinputa 5.
right
bit
3. Click and
click email
the Click
the format
"Đăng
"Đi
"Quên đến
mật
with
nhập"
gmail"
Khẩu
registed
button
link
?" link
email
on the right.
5.
3. Click 1.
clicktheGo
the to
"Quên Home
"Đi đến
mật Page.
gmail"
Khẩu link
?" linkemail
2. Scroll 4.
down
4.
input
inputa6.
right
bitcheck
right andemail
Click
emailthe format
"Đăng
email
format
with
fornhập"
with theregisted
button
OTP
registed on the right.
email
3. 5.
Click 1.
clicktheGo
the to
"Quên Home
"Đi đến
mật Page.
gmail"
Khẩu link
?" link
7. down
enter the 5. Wrong
click the OTP to the OTPlink numberonbox
2. Scroll 4. inputa6. bitcheck
right andemailthe"Đi
Click đến
"Đăng
email
format
gmail"
fornhập"
with the button
OTP
registed emailthe right.
3.
7. enter 5. 6.
Clickcheck
theclick the
rightthethe
"Quên
OTP emailmậtfor the
Khẩu OTP
?" link
7. "Đito
đếnthegmail"
OTP number
link box
4. enter
input6. the
right right
check email OTP to
format
the email
the OTP
with
for
number
registed box
email
8. 5.
inputclick wrong
the format
"Đi đến of the OTP
password
gmail" link
7. enter the right
9. input 1. Go
confirm OTP to thewith
tomatch
Home OTP
Page. number box
password
2. Scroll7.down 8.a6.input
check
bit 1.
and Go the
wrong to email
Click Home
format
"Đăng
for
of the
Page. OTP
password
nhập" button on
2. Scroll 3. enter
down a the
9. input rightClick
bitconfirm
and OTP to the nhập"
"Đăng
unmatch OTPpassword
with number
button boxthe
on
right.
the right.
Click the "Đăng nhập bằng Google" button
3. Click8.the input rightnhập
"Đăng format of password
bằng Google" button
9.
4.input
Complete confirm theunmatch with password
Google account login
5. Press "Tiếp tục button" in Google verify
Test Case Procedure
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" lin
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4
Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input right format of pas
on the right. 3. Click the "Đăng ký ngay !" link 4. not input username (3-20 characters) 5. input right email format([email protected]
on on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. not input email format([email protected]
ập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input email format([email protected]
down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5.
nd Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input email fo
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay
ập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input email format(xxx@gmail.
. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input email format([email protected]) 6. input date 7. in

Test Case Procedure 1. Go to Home Page.


2. Scroll down a bit and Click "Đăng nhập" button on the right.
3. Click the icon of user
4. Click the "Đăng xuất" blue button
Test Case Procedure 1. Go to Home Page.
2. Scroll down a bit and Click "Đăng nhập" button on the right.
3. Successful Login
4. Scroll down a bit and Click the icon of user on the right.
Test Case Procedure
1. Click the "Chỉnh sửa thông tin" button
1. Click the "Chỉnh sửa thông tin" button
2. change into wrong format username
1. Click the
3."Chỉnh sửa thông
click "Lưu" buttontin" button
2. change into right format username
3. click "Hủy" button
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. not input the pass word into the "Mậ
Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box
ông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box 4. input anoth
utton 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box 4. input another pass
ight format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box 4. input another pass word that you wan to
format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box 4. input another pass word that you wan to cha
t format username 3. input the pass word into the "Mật khẩu hiện tại" 's text box 4. input another pass word that you wan to ch

Note

Test Case Procedure 1. Login the system


2. Set dateOfBirth to null
3. Call calculateElementId(dateOfBirth) function.
4.Verify
1. Login the system 2. Set dateOfBirth to a valid LocalDate (from 1/1/1950 output
to 31/12/2025). 3. Call calculateElem
1. User login to the system successfully 2. Select invalid DOB that not exist on February of the non-leap year (ex:
1. User login to the system successfully 2. Select invalid DOB that not exist (ex: 30/2, 31/2, 31/4, 31
1. Enter the page
2. Set a valid LocalDate (e.g., 1995-07-20).
3. Click the button "Tra Cuu"
1. Enter the page
2. Set a valid LocalDate (e.g., 1995-07-20).
3. Click
1. Login the button
the system with"Tra Cuu" role
member
2. Call calculateElementName method with a valid LocalDate (e.g., 1995-0
Verify add blog function with different type of imageURL in UI
Test Case Procedure
1. Login the system with member role(or user role)
2. Click button "Blog & Tin tức" in navigate bar
1. Login the system with admin role
2. Click button "Blog & Tin tức" in navigate bar
1. Login with member role
2. Set input in add function(update, delete)
1. Login the system with admin role
2.Call the createBlog API with valid title, description, and image URL
1. Login the system with admin role
2.Call the createBlog API with blank title, description, and image URL
1. Login the system with admin role
2.Call the getBlogByID API with a non-existing BlogID.
1. Login the system with admin role
2.Call the updateBlog API with a valid BlogID and update information..(title, imageUR
1. Login the system with admin role
2.Call the updateBlog API with a valid BlogID and update information..(empty title, imag
1. Login the system with admin role
2.Call the updateBlog API with non-existing BlogID and update information..(title, image
1. Login the system with admin role
2.Call the deleteBlog API with a valid BlogID.
1. Login the system with admin role
1. Login the
2.Call the deleteBlog APIsystem with adminBlogID
with non-existing role in system
2. Click "Blog&Tin tức" in navigate bar
3. Set 1.
valid input
Login thetosystem
title , imageURL,
with admindecription
role
2. Click4."Blog&Tin
Click buttontức""Tạo mới" bar
in navigate
1. Login
3. Call createBlog methodthewith
system
emptywithtitle
admin role
, imageURL, decription
2. Click "Blog&Tin tức" in navigate bar
3. Call createBlog method with valid title, decription , empty imageUR
1. Login the system with admin role 2. Click "Blog&Tin tức" in navigate bar 3. Call createBlog method with valid
ut ChatGPT returns no response., Verify chatCompletion method with a invalid request for chatCompletion, Verify compatibility
Test Case Procedure
1. Login the system with member role
2. Set existing color to elementFromColor method(e.g., blue, red,...)
1. Login the system with member role
2. Set non existing color in system to elementFromColor method(e.g., purple, i
1. Login the system with member role
2. Set existing shape to elementFromShape method(e.g., circle, rectangl
1. Login the system with member role
2. Set non existing shape in1.system to elementFromShape
Login the system with member method(e.g.,
role oval, dia
2. Set userElement : "Metal"(White), tankElement: "Water"(Black), fishElements: "Metal"(White) (e.g, Earth(Yello
3. Valid 1. Login for
request thechatCompletion
system with member role
in chatGptService
2. Set userElement : "Metal"(White), tankElement: "Wood"(Green), fishElements: "Water"(Blue) (e.g, Fire
3. Valid 1. Login for
request thechatCompletion
system with member role
in chatGptService
2. Set userElement : "Metal"(White), tankElement: "Fire"(Red), fishElements: "Water"(Blue) in c
3. Valid 1. Login for
request thechatCompletion
system with member role
in chatGptService
2. Set valid input for userElement, fishElement, tankElement compatibilityScor
1. Loginfor
3. Null request thechatCompletion
system with member role
in chatGptService
2. Set valid input for userElement, fishElement, tankElement compatibilityScor
3. Valid request for chatCompletion in chatGptService
system with member role 2. Set valid input for userElement, fishElement, tankElement compatibilityScore method 3. Invalid re
n the system with member role 2. Set invalid input for compatibilityScore method(fishColor empty, tankShape is empty, element
1. Login the system (not purchased subscription package)
2. Click "Độ Tương Hợp" in navigate bar
3. Select Koi fish and tank, user'element then click "Tính toán độ tương h
1. Login the system with member role
2. Click "Độ Tương Hợp" in navigate bar
3. Select Koi fish(exceeding 1. 6)
Login
and the system
tank, with member
user'element role "Tính toán độ t
then click
2. Click "Độ Tương Hợp" in navigate bar
1. Login the
3. Select Koi fish and tank(exceeding 1), system with user
user'element thenrole
click "Tính toán độ t
2. Set valid input for userElement, fishElement, tankElement compatibilityScor
1. Login the system with member role
3. Valid request for chatCompletion in chatGptService
2. Click "Độ Tương Hợp" in navigate bar
1. Login
3. Set null Koi fish and the system with
tank, user'element member
then role toán độ tương
click "Tính
2. Set valid input for compatibilityScore method
3. Valid request for chatCompletion 1. Login the system with
in chatGptService butmember
api key ofrole
Chatgpt in config
2. Set valid input for compatibilityScore method
3. Valid request for chatCompletion 1. Login the system with
in chatGptService butmember
api key ofrole
Chatgpt in config
2. Click "Độ Tương Hợp" in navigate bar
1. Login
3. Set input to Koi fish and the system
null tank, with member
user'element then clickrole
"Tính toán độ tươ
2. Click "Độ Tương Hợp" in navigate bar
3. Set input to Koi fish and tank,1. null
Login the system then
user'element with click "Tính toán độ tư
2. Click "Độ tương hợp" in navigate bar
3. Input color of koi fish in search bar
the system with member role2. Set valid input for userElement, fishElement, tankElement compatibilityScore method3. Valid re
1. Login the system with member role2. Set valid input for userElement, fishElement, tankElement compatibilityScore method
text
s if the user is already subscribed., Return to the home page after successful payment
Expected Output
Both plans are displayed with correct pricing and detailed i
The monthly plan is selected successfully and displays the c
The yearly plan is selected successfully and displays the co
Payment is successful, and a confirmation message is d
Payment is successful, and a confirmation message is d
Error message "Your card has expired." is displayed, and paymen
Error message "Your card's security code is incomplete." is displayed, and
Payment is successfully canceled, and no charges are
Error message "Insufficient balance" is displayed, and payment i
The system displays a network error message and does not proc
The system displays an error message "Your card number is invalid." and do
User account status changes to "Member" based on the plan
Each payment method is available for selection and proceeds correctly to th
The system displays an error message indicating that the card is blocked, an
The user's gmail is corrected.
The system displays a message indicating the user already has an active subscriptio
After a successful payment, the user should click to the button "Quay về trang ch

Expected Output
A confirmation prompt appears before the tank specification
The dashboard page be shown
The dashboard should display the correct number of total users regis
The dashboard should display the correct number of total members reg
The dashboard should display the correct total number o
The dashboard should display the correct total number o
Dashboard page to redirect to Home page
The welcome message should remain visible and unchanged after clicking on the "Bảng thống kê" section, maintaining the

The welcome message should remain visible and unchanged after clicking on the "Quản lý người dùng, maintaining the mess
Display these data fields with following information: 'Tên', 'Email', 'Ngày Sinh', 'Mệnh', "Trạng thá
Reload the "Quản lí người dùng" section. The user will be removed from
Confirmation prompt appears before deleting user
The functions under "Manage users", including viewing, editing, and d

Expected Output
Payment is successful, and a confirmation message is d
Payment is successful, and a confirmation message is d
Error message "Your card has expired." is displayed, and paymen
Error message "Your card's security code is incomplete." is displayed, and
Payment is successfully canceled, and no charges are
The system displays a network error message and does not proc

Expected Output
Both plans are displayed with correct pricing and detailed i
The monthly plan is selected successfully and displays the c
The yearly plan is selected successfully and displays the co
Error message "Insufficient balance" is displayed, and payment i

text

Expected Output
Comment creation fails with an error "Content cannot b
Comment creation fails with an error "Comment must be under 1
Comment creation fails with an error "Blog cannot be
Comment creation fails with an error "Blog is not exis

Expected Output
Comment creation fails with an error "Unauthentica
Comment create successfully with correct User inform
CommentDate is correctly set to LocalDate.now(
Comment creation successfully, return with a unique CommentID, Us

Expected Output
Comment updation fails with an error "Content cannot
Comment updation fails with an error "Comment must be under
Comment updation fails with an error "You don't have pe
Comment update successfully.

Expected Output
Comment deletion fails with an error "You don't have per
Comment delete successfully.
Comment delete successfully.

Expected Output
Show all comments of that blog.

Expected Output
Advertisement creation fails with an error "Title cannot b
Advertisement creattion fails with an error "Description cann
Advertisement creation fails with an error "Description is only 1000
Advertisement creation fails with an error "Price cannot
Advertisement creation fails with an error "Price type is
Advertisement creation fails with an error "Element canno
Advertisement creation fails with an error "Element not e
Advertisement creation fails with an error "Category canno
Advertisement creation fails with an error "Category not
Advertisement creation successfully, return with set of

Expected Output
Advertisement creation successfully, return with unique AdvertisementID, User, C
Comment updation fails with an error "You don't have pe
Advertisement's User field will hold your informatio
CreateDate field will hold LocalDateTime.now() corre
Status field will hold "Pending".

Expected Output
Show out list of all advertisements.
Show out list of verified advertisements.
Show out list of pending advertisements.
Show out the advertisement that user want to find

Expected Output
Advertisement updation fails with the error "Title cannot
Advertisement updation fails with the error "Description can
Non-owner not allow to interact with other people adverti
Advertisement updation fails with the error "Element is n
Advertisement updation fails with the error "Element not
Advertisement updation fails with the error "Category cann
Advertisement updation fails with the error "Category not
Advertisement updation successful with Status turn into "

Expected Output
Advertisement deletion successful.
Advertisement deletion fails with the error "You don't have p

Expected Output
Advertisements updating the status based on Admin's ve

text

Expected Output
The Login form is displayed with the folowing informa
- "Đăng nhập" title
- "Email"
- Email's text box with blur "Email" and a letter icon on the right
- "Mật khẩu"
- Password's text box with blur "Mật khẩu", a lock icon on the right of the text box and a unsee
Email's text box turn red with the icon- and
"Quênthenmật Khẩu
show an?" link
red message bel
- blue "Đăng nhập" button
Email's text box turn red with
- white the nhập
"Đăng icon and
bằngthen show button
Google" an redwith
message
an Googbe
-"hoặc
Email's text box must not turn redĐăng kí ngay
with the icon !"
andwith theshow
then "Đăng ankíred
ngay !" is a
messag
The password in Password's text box must be shown with o
The password in Password's text box must be shown
Browser show log "Request failed with status code 4
Show an error red message "Mật khẩu phải từ 6-40 k
Browser show log Request failed with status code 4
Show an error red message "Tài khoản/Mật khẩu đăng nhập sai h
Browser show log "Request failed with status code 4
Show an error red message after"Tài
the khoản/Mật
action it would khẩubeđăng nhập sai h
like this:
Login- form
Redirect to Homeinto
will change Page like this:
- Login and Sign in button -replace
"Nhập email with the Vipnhập"
đăng upgrade titlebutton an
- "Chúng tôi sẽ gửi mã xác thực về mail của bạn
Email's text box turn red with the -"Email"
icon and and thenan Email's
show an red textmessage
box be
Login form will change into like this:
Email's text box turn red with the icon and thenthực
- "Xác show an red
email" titlemessage belo
- "Mã OTP đã gửi đến mail [email protected], vui lòng xác thự
- OTP number input box
- "Gửi
Redirect youlạitomã" linkpage
gmail
-Login
"Đi đến formgmail" link
will change with an mail
into icon
like this:
Login Form show a error message "Wrong OTP co
- "Cập nhật mật khẩu" title
- "Mật khẩu" with aBrowser
password show
text log
box"Đổi
andmật khẩu thành
an hidden passwordcông!"fu
- "Xác nhận mật khẩu"The Login form
with ashow
Browser is
password displayed with
text boxfailed
log "Request the
and an folowing
with hidden informa
statuspasswo
code 4
Show an error red message - "Đăng
- "Cập nhật" nhập"
"Mật blue
khẩutitle
buttonphải từ 6 kí tự đ
Confirm password tex box turn red and show- an "Email"
error red message "Mật
- Email's text box with blur "Email" and a letter icon on the right
- "Mật khẩu"
- Password's text box with blur "Mật khẩu", a lock icon on the right of the text box and a unsee
Redirect
- "Quên tomật
GoogleKhẩulogin?" linkpage
after the action it would be like this:
- blue "Đăng
Redirect to nhập"
Home button
Page
- Login and- white
Sign in"Đăng
buttonnhập
replacebằngwithGoogle"
the Vip button
upgrade with button
an Goog
an
-"hoặc Đăng kí ngay !" with the "Đăng kí ngay !" is a
Expected Output
gày sinh" - Date's text box with an schedule icon on the right - "Mật khẩu" - Password's text box with blur "Mật khẩu", a lock icon
Show error message "Tên đăng nhập phải từ 3-20 k
Show error message "Email không hợp lệ!"
Show error message "Mật khẩu phải từ 6 -40 kí tự
Show error message "Mật khẩu không trùng khớp
Show error message "Vui lòng nhập tên đăng nhậ
show error message "Vui lòng nhập email!"
Show error message "Vui lòng chọn ngày sinh!"
Show error message "Vui lòng nhập mật khẩu!"
Show error message "Vui lòng xác nhận mật khẩu
Redirect to Login page
ayed with the folowing informations: - "Xác thực email" title - "Mã OTP đã gửi đến mail [email protected], vui lòng xác t
Browser show log"Xác thực thành công!" Redirect to Lo

Expected Output Redirect to the User Profile Page


the Vip upgrade button and The anUsericonProfile
of userform will bewith
replace like:Login an
- On the Left:
+ User Avatar
Expected Output + Userform
Edit profile full name
will be like:
+ "Chỉnh sửa sửa
- "Chỉnh thông tin" white
thông button
tin" title
- a white -"Username"
line seperate two side
- On the Right:
- Username's text box
+ "Thông tin tàinhật"
- "Sinh khoản" title
Expected Output - Date's text+box "Email:"
with anwith user's email
schedule icon on the righ
+ "Sinh nhật:"
- "Mật khẩu hiện date
with user's tại" of birth
- Password's text box +"Mệnh:"
with a/an withunseen/seenable
user's elements function
+ "Cấp
show error message -"Username độ:" with
"Ảnh Đại Diện"user's
must be role3-20 charac
- Upload file box (PNG,JPG,etc)
Nothing
- "Mậtchange
khẩu mới on (TÙY
user profile
CHỌN)" form
show error message "Vui -lòng
Password's
kiểm tra text boxtrường
lại các with a/anthôngunseen/seenable
tin." show errorfunction
messag
- "Hủy" white button
User Avatar change on the
- "Lưu" blue User profile form
button
hẩu hiện tại" - Password's text box with a/an unseen/seenable function on the left - "Ảnh Đại Diện" - Upload file box (PNG,JPG,
show error message "Mật khẩu mới phải từ 6-40 kí
show error message "Username must be 3-20 show error message "Vui l
show error message "Mật khẩu không trùng khớp
show message "Cập nhật thông tin thành công!" show message "Thông tin đã được lưu

text

Expected Output
An IllegalArgumentException is thrown with the message "Date of b
The elementId is calculated accurately based on the birthYear, using the canN
System will throw AppException with message "Invalid request" and HttpS
System will throw AppException with message "Invalid request" and HttpS
An RuntimeException is thrown with the message "Request failed with
The system will load and then show the consulting results according
An AppException is thrown with the message "Unauthenticated" and HttpS

Expected Output
System will hide add blog button with wrong role(membe
System will show add blog button with admin role to ad
System will throw AuthorizationDeniedException with message "You don't have p
System will blog is created successfully with a generated BlogID and
System will throw AppException with message "title cannot be empty"
System will throw AppException with message "BlogID not found" a
System will show blog is successfully updated with new in
System will throw AppException with message "title cannot be empty"
System will throw AppException with message "BlogID not found" a
System will show response is "Blog is successfully de
System will throw AppException with message "BlogID not found" a
System will send response "Tạo bài viết thành công" on
System will show warning message "
Tiêu đề không được để trống!"
System will show warning message "Vui lòng chọn ít nhất
System will show warning message "Chỉ được chọn
s not invalid, Verify calculate Element Compatibility function with no subscription packgage in UI, Verify Element Compatibility f
Expected Output
The element is defined based on the colors of Koi fish in
An AppException is thrown with the message "Unknow color" and HttpS
The element is defined based on the shape of tank in s
An AppException is thrown with theSystem
message will "Tank
show result for: and HttpS
not found"
+fishCompatibilityScore should reflect neutral compat
+tankCompatibilityScoreSystem
should willreflect
showneutral
result for:
compatibility
fishCompatibilityScore should reflect
+calculateCompatibilityScore should a balance
show between
ashow
combined favorable
score and
reflecting
System
tankCompatibilityScore will
should result
reflect for:
compatibility with
fishCompatibilityScore+Advise
shouldfrom chatgpt
reflect AI
acompatibility
calculateCompatibilityScore should correctly balance both favorablewith
and
tankCompatibilityScore should reflect neutral
+Advise from chatgpt AI compatibility with
calculateCompatibilityScore should show reduced overall compatibility du
An AppException is thrown with the message
+Advise "Invalid request"
from chatgpt AI and HttpS
An AppException is thrown with the message "OpenAI API Gateway Timeout" and H
An FeignException.BadRequest is thrown with the message "Invalid request format or content for Cha
An AppException is thrown with the message "Invalid request" and HttpSt
The system will redirect you to a warning page if you have not purchased
System will show warning message "Chỉ được chọn tối đa
System will show warning message "Vui lòng chỉ chọn
System will throw AuthorizationDeniedException with message "You don't have p
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
An AppException is thrown with the message "Api key expired or not renewed" an
An AppException is thrown with the message "Missing api key of chatgpt" and
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
System will show koi fish with color matching
An AppException is thrown with the message "Connection error to ChatGPT" and
An AppException is thrown with the message "An unexpected error occurred" and
text

Inter-test case Dependence

Test Case 4 or 5

User must have an active subscription.

Inter-test case Dependence


tới với Dashboard"

ới User Management"

Inter-test case Dependence

Inter-test case Dependence

text

Inter-test case Dependence


None
None
None
None

Inter-test case Dependence


CAC-003
CAC-001
CAC-001, CAC-003, CAC-013
VIC-001, VIC-002, VIC-003, VIC-004

Inter-test case Dependence


VIC-001, CAC-003, CAC-013
VIC-002, CAC-003, CAC-013
CAC-003, CAC-013
VIC-001, VIC-002, VIC-003, VIC-004, CAC-003, CAC-013

Inter-test case Dependence


CAC-003, CAC-013
CAC-003, CAC-013
VIC-003, VIC-004

Inter-test case Dependence


VIC-003, VIC-004

Inter-test case Dependence


None
None
None
None
None
None
None
None
None
None

Inter-test case Dependence


VIA-001, VIA-002, VIA-003, VIA-004, VIA-005, VIA-006, VIA-007, VIA-008, VIA-009, VIA-010
None
CAA-002
CAA-002
CAA-002

Inter-test case Dependence


None
None
None
None

Inter-test case Dependence


CAA-003, CAA-008
CAA-003, CAA-008
CAA-003, CAA-008
CAA-003, CAA-008, VIA-006
CAA-003, CAA-008, VIA-007
CAA-003, CAA-008, VIA-008
CAA-003, CAA-008, VIA-009
VIA-001, VIA-002, VIA-003, VIA-004, VIA-005, VIA-006, VIA-007, VIA-008, VIA-009, VIA-010

Inter-test case Dependence


CAA-003, CAA-008
CAA-003, CAA-008

Inter-test case Dependence


CAA-003, CAA-007

text

Inter-test case Dependence


Inter-test case Dependence
ction on the left of the text box - "Xác nhận mật khẩu" - Confirm Password's text box with blur "Mật khẩu", a lock icon on the righ
ại mã" link - "Đi đến gmail" link with an mail icon

Inter-test case Dependence


022

Inter-test case Dependence


022

Inter-test case Dependence


038
038
038
038
038
038
038
038
038
038

text

Inter-test case Dependence


Inter-test case Dependence

elected in UI, Verify Element Compatibility function calculation when exceeding the number of tank selected in UI, Verify Eleme
Inter-test case Dependence
Result Test date

Note text text

4000 0000 0000 0069

4000 0000 0000 9995

1234 5678 9101 1121

4000 0000 0000 9987

Note text text

Cannot add a new tank


Only edit delete

Note text text

4000 0000 0000 0069

Note text text

4000 0000 0000 9995

Result Test date

Note text text


Pass 11/7/24
Pass 11/7/24
Fail 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Fail 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Fail 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Pass 11/7/24
Fail 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24
Pass 11/7/24

Note text text


Pass 11/7/24
Fail 11/7/24

Note text text


Fail 11/7/24

Result Test date

Note text text


001 11/7/2024
002 11/7/2024
003 11/7/2024
004 11/7/2024
005 11/7/2024
006 11/7/2024
007 11/7/2024
008 11/7/2024
009 11/7/2024
010 11/7/2024
011 11/7/2024
012 11/7/2024
013 11/7/2024
014 11/7/2024
015 11/7/2024
016 11/7/2024
017 11/7/2024
018 11/7/2024
019 11/7/2024
020 11/7/2024
021 11/7/2024
022 11/7/2024

Note text text


khẩu", a lock icon on the right of the text box and023
a unseen/seenable
11/7/2024
function on the left of the text box - "Đã có tài khoản? Đăn
024 11/7/2024
025 11/7/2024
026 11/7/2024
027 11/7/2024
028 11/7/2024
029 11/7/2024
030 11/7/2024
031 11/7/2024
032 11/7/2024
033 11/7/2024
034 11/7/2024
035 11/7/2024

Note text text


036 11/7/2024

Note text text


037 11/7/2024

Note text text


038 11/7/2024
039 11/7/2024
040 11/7/2024
041 11/7/2024
042 11/7/2024
043 11/7/2024
044 11/7/2024
045 11/7/2024
046 11/7/2024
047 11/7/2024

Result Test date

Note text text


7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024

Note text text


7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
k selected in UI, Verify Element Compatibility function calculation with wrong role(role user), Verify Element Compatibility functio
Note text text
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
7/11/2024
y Element Compatibility function calculation when null fish input in UI

You might also like