4f1347dd81de56c4140b1a172bdd28d2a848520b17366dec72ce36cab6361892 xlsx Revision History Revision Description FUNCTIONAL TEST CASES for Author Issue Date FUNCTIONAL TEST CASES for Release Information Project Internal Release Number Release Audience Attached Worksheet Related Documents Links to Relevant Standards Links to Other Documents List of Test Cases No Function Unique TC ID 1 TC PCS MU 001 2 TC PCS MU 002 3 TC PCS MU 003 4 TC PCS MU 004 5 TC PCS MU.
Trang 1Revision History
FUNCTIONAL TEST CASES for <Project Name>
Trang 2Author Issue Date
<dd/mm/yyyy>
FUNCTIONAL TEST CASES for <Project Name>
Trang 5Links to Relevant Standards
Links to Other Documents
List of Test Cases
Trang 7Unique Title
CreateNewUser-Basic Flow (Positive)
CreateNewUser-A1 (Error in the validation of user details - field First name contains empty string)
CreateNewUser-A1 (Error in the validation of user details - field First name consists solely of white space
CreateNewUser-A1 (Error in the validation of user details - field Surname contains empty string)
CreateNewUser-A1 (Error in the validation of user details - field Surname consists solely of white space
CreateNewUser-A1 (Error in the validation of user details - field Gender is not selected).CreateNewUser-A1 (Error in the validation of user details - field Address contains empty string)
CreateNewUser-A1 (Error in the validation of user details - field Address consists solely of white space
CreateNewUser-A1 (Error in the validation of user details - field City contains empty string).CreateNewUser-A1 (Error in the validation of user details - field City consists solely of white space
CreateNewUser-A1 (Error in the validation of user details - field Zipcode contains empty string)
CreateNewUser-A1 (Error in the validation of user details - field Zipcode consists solely of white space
CreateNewUser-A1 (Error in the validation of user details - field Department is not selected)
Trang 8CreateNewUser-A1 (Error in the validation of user details - field Permission is not selected).CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of April).
CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of June)
CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of September)
CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of November)
CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of February)
CreateNewUser-A1 (Error in the validation of user details - field Birthdate contains invalid format of February - not leap year)
Trang 10Create a new user unsuccessfully because the required field Permission contains null.
Create a new user unsuccessfully because the field Birthdate contains invalid format of April
Create a new user unsuccessfully because the field Birthdate contains invalid format of June
Create a new user unsuccessfully because the field Birthdate contains invalid format of September
Create a new user unsuccessfully because the field Birthdate contains invalid format of November
Create a new user unsuccessfully because the field Birthdate contains invalid format of February
Create a new user unsuccessfully because the field Birthdate contains invalid format of February - not leap year
Trang 11No Test Case Purpose Initial Conditions TC-PCS-MU-001:
CreateNewUser-Basic
Flow (Positive)
Test that the System Administrator can create a new user in system successfully with valid input of user details
The user must be logged-in as “System Administrator”
1
3 TC-PCS-MU-003:
CreateNewUser-A1
(Error in the validation
of user details - field
Firstname consists
solely of white space)
Test that the System Administrator cannot create a new user in system because the required field Firstname consists solely of white space
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except only space bar for Firstname
2 TC-PCS-MU-002:
CreateNewUser-A1
(Error in the validation
of user details - field
Firstname contains
empty string)
Test that the System Administrator cannot create a new user in system because the required field Firstname contains empty string
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except
Firstname
4 TC-PCS-MU-004:
CreateNewUser-A1
(Error in the validation
of user details - field
Surname contains
empty string)
Test that the System Administrator cannot create a new user in system because the required field Surname contains
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required
Trang 125 TC-PCS-MU-005:
CreateNewUser-A1
(Error in the validation
of user details - field
Surname consists
solely of white space)
Test that the System Administrator cannot create a new user in system because the required field Surname consists solely of white space
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except only space bar for Surname
empty string) Surname contains
(Error in the validation
of user details - field
Address contains
empty string)
Test that the System Administrator cannot create a new user in system because the required field Address contains empty string
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except Address
6 TC-PCS-MU-006:
CreateNewUser-A1
(Error in the validation
of user details - field
Gender contains null)
Test that the System Administrator cannot create a new user in system because the required field Gender
is not selected
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except Gender
8 TC-PCS-MU-008:
CreateNewUser-A1
(Error in the validation
of user details - field
Address consists
solely of white space)
Test that the System Administrator cannot create a new user in system because the required field Address consists solely of
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required
Trang 13solely of white space) consists solely of
white space
value in all required fields except only space bar for Address
9 TC-PCS-MU-009:
CreateNewUser-A1
(Error in the validation
of user details - field
City contains empty
string)
Test that the System Administrator cannot create a new user in system because the required field City contains empty string
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except City
12 TC-PCS-MU-012:
CreateNewUser-A1
(Error in the validation
of user details - field
Zipcode consists solely
of white space)
Test that the System Administrator cannot create a new user in system because the required field Zipcode consists solely of
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required
Test that the System Administrator cannot create a new user in system because the required field City consists solely of white space
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except only space bar for City
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except Zipcode
10 TC-PCS-MU-010:
CreateNewUser-A1
(Error in the validation
of user details - field
City consists solely of
white space)
11 TC-PCS-MU-011:
CreateNewUser-A1
(Error in the validation
of user details - field
Zipcode contains
empty string)
Test that the System Administrator cannot create a new user in system because the required field Zipcode contains empty string
Trang 14of white space) consists solely of
white space
value in all required fields except only space bar for Zipcode
14 TC-PCS-MU-014:
CreateNewUser-A1
(Error in the validation
of user details - field
Permission contains
null)
Test that the System Administrator cannot create a new user in system because the required field Permission is not selected
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except
Permission
13 TC-PCS-MU-013:
CreateNewUser-A1
(Error in the validation
of user details - field
Department contains
null)
Test that the System Administrator cannot create a new user in system because the required field Department is not selected
- The user must be logged-in as “System Administrator”
- The user fills valid value in all required fields except
Department
16 TC-PCS-MU-015.02:
CreateNewUser-A1
(Error in the validation
of user details - field
Birthdate contains
invalid format of June)
Test that the System Administrator cannot create a new user in system because field Birthdate contains an invalid date format of June
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
15 TC-PCS-MU-015.01:
CreateNewUser-A1
(Error in the validation
of user details - field
Birthdate contains
invalid format of April)
Test that the System Administrator cannot create a new user in system because field Birthdate contains an invalid date format of April
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
Trang 1520 TC-PCS-MU-015.06:
CreateNewUser-A1
(Error in the validation
of user details - field
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
18 TC-PCS-MU-015.04:
CreateNewUser-A1
(Error in the validation
of user details - field
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
17 TC-PCS-MU-015.03:
CreateNewUser-A1
(Error in the validation
of user details - field
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
19 TC-PCS-MU-015.05:
CreateNewUser-A1
(Error in the validation
of user details - field
- The user must be logged-in as “System Administrator”
- The user fills valid value in all fields except invalid format for Birthdate
Trang 16Test Data Step # Step Action
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data),
and click button Save
3
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
- Firstname = “Jan”
- Surname = “Thomson”
- Birth date = “29-Feb-1988”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- City = “Manchester”
- Zip code = "55555”
Trang 17User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
- Firstname = “Jan”
- Surname = “ ”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
Trang 18User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- City = “Manchester”
- Zip code = " ”
- Firstname = “Jan”
- Surname = “Thomson”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
Trang 19User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
- Birth date = “12-Dec-1970”
- Address = “122, Main Road”
Trang 201 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
1 User chooses the function Create New User
2
User enters value for input
fields on the screen (follows the
values in column Test Data) ,
and click button Save
Trang 21Expected Result Actual Result
The system displays Create New User screen
System does the following:
1 Create a new user with 4 digits employee
ID and the attributes typed-in
2 Assign a default password being 8
characters long
3 Grant the permission as specified by the
attribute typed-in
System displays the Confirmation screen with
all input values as specified by user and the
message "A new user with information as
specified below has been saved into system
successfully."
The system displays Create New User screen
System displays the error message "The field
Firstname is required.", and focuses the
cursor on field Firstname for user input value
again
The system displays Create New User screen
System displays the error message "The field
Firstname is required.", and focuses the
cursor on field Firstname for user input value
again
The system displays Create New User screen