CHAPTER IV. SOFTWARE INSTALLATION AND TESTING
4.2. Test and tracking program
4.2.2.2. Registration function test script
Table 4.2. Registration function test script Test case
ID Purpose Implementation steps Estimate
results Result
ID1
Check the username input field
1. Enter a username that does not exist
2. Other fields are entered validly.
3. Click Register
Account successfully created
Passed
ID2
1. Enter an existing username 2. Other fields are entered validly.
3. Click Register
1. Display error
message:
"Registratio n failed".
2.Focus on the error field.
Passed
ID3
1. Do not enter anything in the username field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID4
1. Enter blank characters in the username field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID5
1. Enter the leading and middle spaces in the username field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID6 1. Enter a username field
greater than 32 characters
1. Display error
message:
Passed
2. Other fields are entered validly
3. Click Register
"Registratio n failed".
2. Focus on the error field.
ID7
Check their school
1. Do not enter anything in the last name field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID8
1. Enter blank characters in the last name field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID9
1. Enter the last name field with leading and trailing blanks
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID10
1. Enter more than 32 characters in the last name field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID11
1. Enter a valid last name field 2. Other fields are entered validly
3. Click Register
Display the message
“Successful registration”
Passed
ID12
Check the name field
1. Enter nothing in the name field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID13
1. Enter blank characters in the name field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID14
1. Enter the name field with leading and trailing whitespace 2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field
.
Passed
ID15
1. Enter a name that exceeds 32 characters
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID16
1. Enter a valid name in the field
2. Other fields are entered validly
3. Click Register
Display the message
“Successful registration”
Passed
ID17
Check the password field
1. Do not enter anything in the password field or enter characters over 32 characters 2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
Passed
2. Focus on the error field.
ID18
1. Enter blank characters in the password field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID19
1. Enter the correct password under 32 characters
2. Other fields are entered validly
3. Click Register
Display the message
“Successful registration”
Passed
ID20
Check the password re-enter field
1. Do not enter anything in the re-enter password field
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID21
1. Enter blank characters in the password re-enter field
2. Other fields are entered validly
1. Display error
message:
Passed
3. Click Register "Registratio n failed".
2. Focus on the error field.
ID22
1. Enter the correct password in the password field
2. Other fields are entered validly
3. Click Register
Display the message
“Successful registration”
Passed
ID23
Check the email input field
1. Enter an email that does not exist and has the correct syntax abc@gmail.com
2. Other fields are entered validly.
3. Click Register
Display the message
“Successful registration”
Passed
ID24
1. Enter emails that exist in the database
2. Other fields are entered validly.
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID25
1. Leave the email field blank 2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
Passed
2. Focus on the error field.
ID26
1. Enter blank characters in the email field
2. Other fields are entered validly
3. Click the register button
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID27
1. Enter the wrong email field format in the following cases:
- Enter email without @
- Enter email without dot domain name
- Enter email without .com double
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID28
1. Enter data containing special characters #$% or enter
email using a draw
sign@gmail.com
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID29
1. Enter email with more than 32 characters
2. Other fields are entered validly
3. Click Register
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
Table 4.3. Test scenario for editing account information Test case
ID Purpose Implementation steps Estimate
the plan Result
ID1
Check the email input field
1. Enter an email that does not exist and has the correct syntax abc@gmail.com
2. Other fields are entered validly.
3. Click Update
Display the message
“Update successful”
Passed
ID2
1. Enter emails that exist in the database
2. Other fields are entered validly.
3. Click Update
1. Display error
message"
2. Focus on the error field
Passed
ID3
1. Leave the email field blank 2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field
Passed
ID4
1. Enter blank characters in the email field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field
Passed
ID5
1. Enter the wrong email field format in the following cases:
- Enter email without @ - Enter email without dot domain name
- Enter email without .com double
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error
field Passed
ID6
1. Enter an email containing the special characters #$% in addition to the @ sign
2. Other fields are entered validly
1. Display error
message"
2. Focus on the error field.
Passed
3. Click Update
ID7
1. Enter email with more than 32 characters
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field
Passed
ID8
Check the phone number input field
1. Do not enter anything in the phone number field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID9
1. Enter blank characters in the phone number field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID10
1. Enter in the phone number field data that is less than 9 characters and greater than 11 characters
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID11
1. Enter special characters @,
#, $, %, etc. in the phone number field.
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID12
1. Enter in the phone number field the letters a b c d e, etc.
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID13
1. Enter in the phone number field:
- Data is all numeric characters
- Number of characters from 9 - 11 characters
2. Other fields are entered validly
3. Click Update
Display the message
“Update successful”
Passed
ID14
1. Do not enter anything in the address field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
Kiểm tra trường nhập địa chỉ ID15
1. Enter blank characters in the address field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID16
1. Enter your correct address in the address field
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID17
1. Enter special characters in the address field such as: @,
#, etc.
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID18
1. Enter content exceeding 32 characters
2. Other fields are entered validly
3. Click Update
1. Display error
message"
2. Focus on the error field.
Passed
ID19
Check the username input field
1. Enter a username that does not exist
2. Other fields are entered validly.
3. Click Update
Hiển thị thông báo
“Cập nhật thành công”
Passed
ID20
1. Enter an existing username 2. Other fields are entered validly.
3. Click Update
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID21
1. Do not enter anything in the username field
2. Other fields are entered validly
3. Click Update
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID22
1. Enter blank characters in the username field
2. Other fields are entered validly
3. Click Update
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID23
1. Enter the leading and middle spaces in the username field
2. Other fields are entered validly
3. Click Update
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed
ID24
1. Enter a username field greater than 32 characters 2. Other fields are entered validly
3. Click Update
1. Display error
message:
"Registratio n failed".
2. Focus on the error field.
Passed