Kiểm Tra Phần Mềm (Co3015) Project #2: BLACK-BOX TESTING: Tp. Hồ Chí Minh, Tháng 10/2021
Kiểm Tra Phần Mềm (Co3015) Project #2: BLACK-BOX TESTING: Tp. Hồ Chí Minh, Tháng 10/2021
Mục lục
1 Application to be tested. 2
1.1 List of functionalities to be tested. . . . . . . . . . . . . . . . . . . . . . . 2
2 Register 3
2.1 Use-case Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Non-functional Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Test case design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Login 5
3.1 Use-case Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Non-functional Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 Test case design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5 Comment on topic 10
5.1 Use-case Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.2 Non-functional Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.3 Test case design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6 Search 12
6.1 Use-case Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2 Non - functional Requirements . . . . . . . . . . . . . . . . . . . . . . . . 14
6.3 Test case design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
* File excel nhóm em nộp là xlsx, nếu bị lỗi mong thầy đổi tên thành
.xlsm ạ.
1 Application to be tested.
My team chose to test on the website https://vn-z.vn/ .
VN-Z was a forum for computing and technology. It had information on Windows, com-
puter hardware, video games and mobile phones. VN-Z now transformed into a forum
for technology news, with tips on information technology and reviews of technological
equipment.
2 Register
2.1 Use-case Detail
Use-case ID 1
Use-case name Register
Created by Nguyễn Long Nhật Last updated by Nguyễn Long Nhật
Date created 19/10/2021 Last updated date 21/10/2021
Description User creates a valid account to login to the site
Actor(s) User
Precondition(s) User has computer or smartphone with internet connection
Post-condition(s) Register Success
1. User open a browser and access to vn-z.vn
2. User click Login button
3. Open register page
4. User enters ( or selects ) required information
5. User selects "Tôi không phải là người máy"
Basic Flow 5.1. Display Captcha
5.2. User selects the required images
5.3. User clicks "Xác minh" and bypass Captcha.
6. User select "I agree to the terms and privacy policy."
7. User click Login button
8. User successfully registers an account and logs in to the site
1. Alternative in step 4:
1.1. User selects "Register fast using: (Facebook, Google,
Alternative Flow GitHub)"
1.2. Redirect to another page for users to register with Google,
Facebook or GitHub.
1. Exception in step 7:
1.1. Invalid or blank user informations
1.2. Display a message asking the user to enter the
correct information for each field.
2. Exception in step 7:
Exception Flow 2.1. User did not select "Tôi không phải là người máy"
2.2. Display a message asking the user to bypass the Captcha.
3. Exception in step 7:
3.1. User did not select "I agree to the terms and privacy policy."
3.2. Display a message asking the user select "I agree to the terms
and privacy policy.".
3 Login
3.1 Use-case Detail
Use-case ID 2
Use-case name Login
Created by Tăng Minh Nhật Last updated by Tăng Minh Nhật
Date created 19/10/2021 Last updated date 21/10/2021
Description User use valid username and password to login
Actor(s) User
Precondition(s) User has computer or smartphone with internet connection
Post-condition(s) Login Success
1. User open a browser and access to vn-z.vn
2. User click "Đăng Nhập" button
3. Open login popup
Basic Flow 4. User enters valid username and password
5. User check or uncheck the "keep login" checkbox
6. User click onto the login button
7. User is redirected to homepage and Login process is a success.
1. Alternative in step 4:
1.1. User selects "Login fast using: (Facebook, Google,
Alternative Flow GitHub)"
1.2. Redirect to another page for users to login with Google,
Facebook or GitHub.
1. Exception in step 6:
1.1. Invalid or blank username or password
Exception Flow
1.2. Display a message notifying the user about
the invalid username or password
Alternative flow
4a The user clicks on the page number they wants to go to.
5a Go to the forum page, posts and comments are displayed by
the selected page number.
6a Click on the VN-Z logo on the top left of page forum to return
to the homepage
—
4b The user click the button with icon “. . . ”
5b The user enters the page number they want to find and clicks
’tới’ button
6b Go to the forum page, posts and comments are displayed by
the selected page number.
7b Click on the VN-Z logo on the top left of page forum to return
to the homepage
5 Comment on topic
5.1 Use-case Detail
Use-case ID 4
Use-case name Comment on topic
Created by Trần Minh Hoàng Last updated by Trần Minh Hoàng
Date created 19/10/2021 Last updated date 22/10/2021
Description User add a comment on one topic of “vn-z” website
Actor(s) User
User opened a certain topic of the website. User logged in. Internet
Precondition(s)
connection
Post-condition(s) Add a comment successfully
1. User clicks on Comment box in the bottom of the topic
2. System enters the input field with input capture
3.User types his/her comment
Basic Flow
4. System shows his/her typed text on input field
5.User clicks on “Gửi trả lời"
6. System adds the typed comment to the topic
1. If user wants answer some other comment (Alternative to step 1)
i. User clicks on “Trả lời” of one certain comment
ii. System displays the sub comment box of that comment and enter
the input field with input capture
iii. Go to before step 3 in Basic Flow
2. If user wants to add sticker (Alternative to step 5)
i. User clicks on sticker icon
ii. System displays Sticker popup
iii. User clicks on one sticker his/her want
Alternative Flow iv. System adds the selected sticker added to the comment box
and display it
v. Go to before step 3 in Basic Flow
3. If user wants to add image (Alternative to step 5)
i. User clicks on image icon
ii. System displays Open file dialog
iii. User browses image he/she wants to comment and click on
open in dialog
iv. Add the selected image added to the comment box and display it
v. Go to before step 3 in Basic Flow
1. If user typed nothing (Exception of step 3)
i. Show an alert "Xin mời nhập vào đúng nội dung."
Exception Flow
2. If user typed vulgar words, violent profanity (Exception of step 6)
i. System adds comment "-censor-" to the topic
Project #2: BLACK-BOX TESTING Trang 10
Trường Đại học Bách Khoa - ĐHQG TP.HCM
Khoa Khoa học & Kĩ thuật Máy Tính
Comment on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Topic
Conditions
Answer
Y Y Y Y Y Y Y Y Y N N N N N N N N N
other comment
Typed N Y Y Y Y Y Y Y Y N Y Y Y Y Y Y Y Y
Add Sticker N Y Y Y Y N N N N N Y Y Y Y N N N N
Add Image N N Y N Y N Y N Y N N Y N Y N Y N Y
Vulgar word N N N Y Y N N Y Y N N N Y Y N N Y Y
Actions
Show comment X X X X X X X X X X X X
Show "-censor-" X X X X X X X X
Show an alert X X
6 Search
6.1 Use-case Detail
Use-case ID 5
Use-case Name Search
Created by Trần Trọng Nghĩa Last updated by Trần Trọng Nghĩa
Date created 19/10/2021 Last updated date 21/10/2021
Description As a user, I want to search for topics or comments that contain
keywords
Actor(s) User
Trigger User clicks the Search button on the forum navigation bar
Pre - Conditions User’s device connected to the internet
Post - Conditions The screen shows a list of topics or comments containing key-
words
Basic Flow
1. User enters a keyword in the search text area.
2. Users tick the line "Search based on title (check to select)"
if necessary.
3. User enters the member’s name related to the topic or
comment that user wants to search by keyword if neces-
sary.
4. User presses the Search button to start the search