Test Case Example

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

 Functional Testing Test cases :-

 Test cases of Admin side:-

Sr. Description Test data Expected Actual data


No. data
1. Admin login, Verify if Email ID:- Login Login
a user will be able to [email protected] successful & successful &
login with valid Password:- Home page Home page
userID and valid ********* display displayed
password.
2. Admin login, Email ID:- Login not Login not
Verify if a user can’t [email protected] successful successful
login with a valid Password:-
userID and invalid Nbnrn
password.
3. Admin login, Email ID:- Login not Login not
Verify the login page BLANK successful successful
for both when the Password:-
field is blank and BLANK
Login button is
clicked.
4. Admin login, Email ID:- Toast Toast
Verify the message for a@gmail message message
invalid login. Password:- display, displayed,
Nbnrn Login not Login not
successful successful
5. Admin login, Email ID:- Login Login
Verify if the data in [email protected] successful successful
the password field is Password:-
either visible as bullet *********
signs.
6. Admin login, Verify if Email ID:- Password Password
a user is able to login [email protected] changed changed
with a new password Password:- successfully successfully
only after he/she *********
changed the password.

Page 1
7. Admin home page, Click OK in the Existing Existing
Verify if a user is able popup dialogue election election
to delete existing box. deleted deleted
election. successfully successfully
8. Admin home page, In Click on to the Election Election
the election fragment spinner, generated generated
Verify the candidate’s Candidate’s name successfully successfully
name show clearly &
Show in the spinner Click on the Add
clearly. button.
9. Admin home page, In Click on to the Result Result
the result fragment result fragment, generated generated
Verify the election election data successfully successfully
data shows in the shows clearly in
screen. the screen.
10. Admin home page, In User name:- Candidate Candidate
the Add voter Mira added added
fragment Verify that Mobile no:- successfully successfully
the single candidate 7856784534
adds successfully. Email ID:-
[email protected]
Password:-
*********
Re-Password:-
*********
11. Admin home page, In Click on the select Multiple Multiple
the Add voter file & Choose voters list voters list
fragment Verify that your file. added added
the multiple voters list successfully successfully
adds successfully.
12. Admin home page, Click on to the Sign out Sign out
Verify the sign out is sign out from successfully successfully
successfully or not. slider page or sign & Login & Login
out fragment. page page
displayed displayed
13. Admin home page, When election & Display Display
Verify that the Result generated notification notification
notifications send notification send successfully successfully
successfully or not. the voter.

Page 2
 Test cases of Voter side:-

Sr. Description Test data Expected Actual data


No. data
1. User login, Verify if a Email ID:- Login Login
user will be able to [email protected] successful & successful &
login with valid Password:- Home page Home page
userID and valid ********* display displayed
password.
2. User login, Email ID:- Login not Login not
Verify if a user can’t [email protected] successful successful
login with a valid Password:-
userID and invalid Nbnrn
password.
3. User login, Email ID:- Login not Login not
Verify the login page BLANK successful successful
for both when the Password:-
field is blank and BLANK
Login button is
clicked.
4. User login, Email ID:- Toast Toast
Verify the message for m@gmail message message
invalid login. Password:- display, displayed,
Nbnrn Login not Login not
successful successful
5. User login, Email ID:- Login Login
Verify if the data in [email protected] successful successful
the password field is Password:-
either visible as bullet *********
signs.
6. User login, Verify if a User name:- Password & Password &
user is able to login Misha Profile Profile
with a new password Mobile no:- changed changed
only after he/she 8956453567 successfully successfully
changed the password Email ID:-
or profile. [email protected]
Password:-
*********

Page 3
7. User Sign up, Verify User name:-Misha Sign up Sign up
if a user will be able Password:- successfully successfully
to sign up with all the ********* & home page & home
valid fields. Re-Password:- displayed page
********* displayed
Email ID:-
[email protected]
Mobile no:-
8956453567
8. User home page, In Click on to the Opens voting Opens
the election fragment election fragment, page voting page
Verify the election election data
data shows in the shows clearly in
screen. the screen.
9. User home page, Show the Notification Notification
Verify that the notification when display in the display in
notifications show or election & result header the header
not. generated. successfully successfully
10. User home page, When then result Shows the Shows the
Verify that the generated, Number result result
Number of votes & of votes & winner successfully successfully
winner name is name is displayed
display in the result in the result
screen or not. screen.
11. User home page, Click on the Rules Rules display Rules
Verify the rules from slider page or successfully display
display or not that is rules fragment. successfully
declared by the admin.
12. User home page, Click on to the Sign out Sign out
Verify the sign out is sign out from successfully successfully
successfully or not. slider page or sign & Login & Login
out fragment. page page
displayed displayed

Page 4

You might also like