Вы находитесь на странице: 1из 8

Test Case Template

Test Title: Verify signup & login with valid username and password

Test Priority: High

Pre-conditions: Admin must login first to create any user accounts.

Post-conditions:

User is validated with database and successfully login to account. The account session details are logged
in database.

Dependencies: Verify login with username and password

Login test: Super admin,admin,owner,renter,employee


Test ID Test Case Title Input Expect Result Actual Result

U1-c1 Login check Input type error Does not match No error go password
email field

U1-c2 Login check Give password Show error Error: Incorrect username or
password. must be
matched if any of them
wrong show error

U1-c3 Login check Forget password Give change Change option


message in your
email
U1-c4 SuperAdmin Select Branch Successfully login Show Dashboard

U1-c5 User type select Select user type(any Successfully login Show user dashboard with
actual user login.
user with email &
password)
Figure show Login with select user type:

Figure: Login Test

Figure show Super Admin must select Branch Name Before login
Figure: Super Admin Login

Figure show User must give correct email and password must be matched if any of them
wrong show error message
Figure: Login test
Add User/Creates User Accounts:
admin,owner,renter,employee.
First Name Test:

Test ID Test Case Name Input Expect Result Actual Result

U2-C1 Check first name Erase the first Field can not Error: Required field
empty
validate name and click
U2 –C2 Check first name Input number and Number is not No error shown
validate letter allowed
U2 –C3 Check first name More than 30 First name not No error shown
validate characters more 30
characters
U2 –C4 Check first name Others You must input No error shown
validate character,;’#@ first name
Alphabet only
U2 –C5 Check first name Support capital and No error Ok
validate small letter

Last Name Test

Test ID Test Case Name Input Expect Result Actual Result

U2-C1 Check last name Erase the last name and click Field can not Error: Required
empty field
validate
U2 – Check last name Input number and letter Number is not No error shown
C2 validate allowed
U2 – Check last name More than 30 characters last name not No error shown
C3 validate more 30
characters
U2 – Check last name Others character,;’#@ input No error shown
C4 validate Alphabet only
U2 – Check last name Support capital and small letter No error Ok
C5 validate
Password Test:

Test ID Test Case Input Expect Result Actual Result


Name

U4-C1 Password test Input less then 6 character Show error Text should 6
character

U4-C2 Password test Maximum length 15 Show error No error show


character
U4-C3 Password test Input any character Show as * Record is displayed
as *

U4-C4 Password test Take alphabet or any allowed Record is accepted


character (‘;,@#)
U4-C5 Password test Retype does not matching Wrong Error: Passwords did
password not match

U4-C6 Password test Retype matching done Record is accepted

Check Box / Select box test:

Test ID Test Case Name Input Expect Result Actual Result

U5-c1 Check box test None select box Show error Error: Required field

U5-c1 Check box test Select box done Record is accepted


Email test:

Test Test Case Input Expect Actual Result


ID Name Result

U6-c1 Check email Input without @ invalid Error:please input @ as


name@dominname.com

U6-c1 Check email Input with number 145 allowed Record is displayed

U6-c1 Check email Input with.,#’’ invalid Invalid e-mail address

U6-c4 Check email Input accepted Record is accepted and


(name@domain.com) displayed
Figure show how to create a user as admin, owner, renter &
employee

Figure: Creates user

Вам также может понравиться