Functional Testing Test cases :-
Test cases of Admin side:-
Sr. Description Test data Expected data Actual data
No.
1. Admin login, Verify if a Email ID:- Login Login
user will be able to login admin@[Link] successful & successful &
with valid userID and Password:- Home page Home page
valid password. ********* display displayed
2. Admin login, Email ID:- Login not Login not
Verify if a user can’t login admin@[Link] successful successful
with a valid userID and Password:-
invalid password. Nbnrn
3. Admin login, Email ID:- Login not Login not
Verify the login page for BLANK successful successful
both when the field is Password:-
blank and Login button is BLANK
clicked.
4. Admin login, Email ID:- Toast message Toast message
Verify the message for a@gmail display, Login displayed,
invalid login. Password:- not successful Login not
Nbnrn successful
5. Admin login, Email ID:- Login Login
Verify if the data in the admin@[Link] successful successful
password field is either Password:-
visible as bullet signs. *********
6. Admin login, Verify if a Email ID:- Password Password
user is able to login with a admin@[Link] changed changed
new password only after Password:- successfully successfully
he/she changed the *********
password.
7. Admin home page, Verify Click OK in the Existing Existing
if a user is able to delete popup dialogue box. election deleted election
existing election. successfully deleted
successfully
8. Admin home page, In the Click on to the Election Election
election fragment Verify spinner, Candidate’s generated generated
the candidate’s name name show clearly & successfully successfully
Show in the spinner Click on the Add
clearly. button.
9. Admin home page, In the Click on to the result Result Result
result fragment Verify the fragment, election generated generated
election data shows in the data shows clearly in successfully successfully
screen. the screen.
Page 1
10. Admin home page, In the User name:- Candidate Candidate
Add voter fragment Mira added added
Verify that the single Mobile no:- successfully successfully
candidate adds 7856784534
successfully. Email ID:-
mira@[Link]
Password:-
*********
Re-Password:-
*********
11. Admin home page, In the Click on the select Multiple voters Multiple
Add voter fragment file & Choose your list added voters list
Verify that the multiple file. successfully added
voters list adds successfully
successfully.
12. Admin home page, Verify Click on to the sign Sign out Sign out
the sign out is out from slider page successfully successfully
successfully or not. or sign out fragment. & Login page & Login page
displayed displayed
13. Admin home page, Verify When election & Display Display
that the notifications send Result generated notification notification
successfully or not. notification send the successfully successfully
voter.
Test cases of Voter side:-
Sr. Description Test data Expected data Actual data
No.
1. User login, Verify if a Email ID:- Login Login
user will be able to login m@[Link] successful & successful &
with valid userID and Password:- Home page Home page
valid password. ********* display displayed
2. User login, Email ID:- Login not Login not
Verify if a user can’t login m@[Link] successful successful
with a valid userID and Password:-
invalid password. Nbnrn
3. User login, Email ID:- Login not Login not
Verify the login page for BLANK successful successful
both when the field is Password:-
blank and Login button is BLANK
clicked.
4. User login, Email ID:- Toast message Toast message
Verify the message for m@gmail display, Login displayed,
invalid login. Password:- not successful Login not
Nbnrn successful
Page 2
5. User login, Email ID:- Login Login
Verify if the data in the m@[Link] successful successful
password field is either Password:-
visible as bullet signs. *********
6. User login, Verify if a User name:- Password & Password &
user is able to login with a Misha Profile changed Profile
new password only after Mobile no:- successfully changed
he/she changed the 8956453567 successfully
password or profile. Email ID:-
m@[Link]
Password:-
*********
7. User Sign up, Verify if a User name:-Misha Sign up Sign up
user will be able to sign Password:- successfully successfully
up with all the valid ********* & home page & home page
fields. Re-Password:- displayed displayed
*********
Email ID:-
m@[Link]
Mobile no:-
8956453567
8. User home page, In the Click on to the Opens voting Opens voting
election fragment Verify election fragment, page page
the election data shows in election data shows
the screen. clearly in the screen.
9. User home page, Verify Show the notification Notification Notification
that the notifications show when election & display in the display in the
or not. result generated. header header
successfully successfully
10. User home page, Verify When then result Shows the Shows the
that the Number of votes generated, Number of result result
& winner name is display votes & winner name successfully successfully
in the result screen or not. is displayed in the
result screen.
11. User home page, Verify Click on the Rules Rules display Rules display
the rules display or not from slider page or successfully successfully
that is declared by the rules fragment.
admin.
12. User home page, Verify Click on to the sign Sign out Sign out
the sign out is out from slider page successfully successfully
successfully or not. or sign out fragment. & Login page & Login page
displayed displayed
Page 3