0% found this document useful (0 votes)
16 views9 pages

Test Case ID

test case id

Uploaded by

nileshlawande09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views9 pages

Test Case ID

test case id

Uploaded by

nileshlawande09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

1.

Login Field

Test Test Case Input Data / Expected Actual Status


case Name Details Steps Result Result
ID

TC-01 Successful User is (To be filled


Login with login page. redirected to the after (Pass/Fail)
Valid dashboard/home execution)
Credentials username and page.
password.

"Login" button.

TC-02 Login Error message (To be filled


Attempt login page. displays: after (Pass/Fail)
with "Invalid execution)
Invalid username and a username or
Username valid password. password."

"Login" button.

TC-03 Login Error message (To be filled (Pass/Fail)


Attempt login page. displays: after
with "Invalid execution)
Invalid username and an username or
Password invalid password. password."

"Login" button.

TC-04 Login Error message (To be filled (Pass/Fail)


with Empty login page. displays: after
Username "Username is execution)
Field username field required."
empty and enter a
valid password.

"Login" button.

TC-05 Login Error message (To be filled


with Empty login page. displays: after (Pass/Fail)
Password "Password is execution)
Field username and leave required."
the password field
empty.

"Login" button.
TC-06 Login with Error messages (To be filled (Pass/Fail)
Both Fields login page. display: after
Empty "Username is execution)
username and required" and
password fields "Password is
empty. required."

"Login" button.

TC-07 Login Login fails with (To be filled


with SQL login page. an error after (Pass/Fail)
Injection message, and execution)
Attempt in '1'='1" in the the system is not
Username username field and vulnerable to
Field any password. SQL injection.

"Login" button.

TC-08 Login with to the Error message (To be filled


Special login page. displays, or after (Pass/Fail)
Characters special execution)
in characters like characters are
Username "@#$%^&*" in the not accepted in
Field username field. the username
field.
password.

"Login" button.

TC-09 Login The "Login" (To be filled (Pass/Fail)


Button login page. button should be after
Disabled disabled until execution)
When username and both fields are
Fields Are password fields filled.
Empty empty.

TC-10 Maximum After exceeding (To be filled (Pass/Fail)


Login username and maximum after
Attempts password. attempts, execution)
Exceeded account should
and repeat for the be temporarily
maximum number locked or
of allowed additional
attempts. authentication
steps (like
CAPTCHA)
should be
required.
2. User Registration

Test Test Case Details Steps Expected Result Actual Result Status
case Name
ID

TC-11 Successful 1. Open the User is User Passed


User registration registered registered
Registration page. successfully. successfully,
2. Enter valid confirmation
user details message appears. displayed.
(name, ID,
email, etc.). securely saved in
3. Submit a the system.
clear face
scan.
4. Submit the
registration
form.

TC-12 Duplicate System should System Passed


User 1. Register a user prevent duplicate displayed
Registration with specific registration. "User already
details (name, ID, registered"
face data). "User already error.
registered,"
2. Attempt to should be
register another displayed.
user using the same
ID and face data.

TC-13 Invalid Passed


Face Data 1. Open the display an error displayed an
Submission registration form. message, error message
"Invalid face and did not
2Enter valid details data. Please try proceed with
(name, ID, etc.). again with a registration.
clear scan."
3. Submit an
unclear or not completed.
corrupted face
scan.

4. Submit the
registration form.
TC-14 Missing Passed
Required 1. Open the display an error message
Fields registration message displayed for
form. specifying missing fields,
2. Leave one or missing required registration
more required fields. prevented.
fields blank
(e.g., email or should not
ID). proceed.
3. Submit the
registration
form.

TC-15 Unregistered System Passed


Face Data registration form. recognize that displayed an
face data doesn’t error for
details. match user mismatched
details and show data.
that does not match an error.
the ID details
submitted. should not
proceed.

TC-16 Network System Passed


Failure registration form.  System prompted user
During should retry to resubmit
Registration details and face or notify the due to network
Submission data. user of failure.
network
network failure issues and
after form prompt
submission. resubmission.

1. Open the
TC-17 Invalid registration form. System Passed
Email display an error displayed an
Format 2. Enter details for invalid email invalid email
with an invalid format. error.
email format (e.g.,
missing "@"). should not
proceed.
3. Submit the
registration form.
3. Face Recognition

Test Test Case Details Steps Expected Actual Status


case Name Result Result
ID

TC-18 Face 1. Launch the voting Face image is Face image (Pass/Fail)
Registration application. successfully registered
Success 2. Navigate to the captured and successfully
registration page. registered in the (or error
3. Upload a clear system. message).
image of the user's
face.
4. Submit the
registration form.

TC-19 Face 1. Launch the voting System Face matched (Pass/Fail)


Verification application. successfully successfully
Success 2. Select "Vote matches the face (or access
(Valid User) Now." and grants access denied).
3. Face the camera to voting.
for recognition.
4. The system
verifies the face with
the stored image.

TC-20 Face 1. Launch the voting System denies Access denied (Pass/Fail)
Verification application. access and with proper
Failure 2. Select "Vote displays "Face message (or
(Invalid Now." Not Recognized." granted access
User) 3. Use a different incorrectly).
face or image not
registered.

TC-21 Face 1. Launch the voting System struggles Recognition (Pass/Fail)


Recognition application. to recognize the accuracy
under Poor 2. Reduce lighting face or prompts meets
Lighting conditions to dim or for better lighting. expectations
low visibility. (or fails).
3. Attempt face
recognition.

TC-22 Prevent 1. Register a face System identifies Duplicate (Pass/Fail)


Duplicate using the registration duplicate faces registration
Face form. and prevents blocked (or
Registration 2. Attempt to register registration. allowed).
s the same face under a
different ID.
TC-23 Face 1. Launch the voting System times out Timeout (Pass/Fail)
Recognition application. and displays an occurs as
Timeout 2. Start the face appropriate error expected (or
recognition process message. does not).
but do not face the
camera.
3. Wait for the
recognition to
timeout.
4. Voting Process And Blockchain Integration

Test Test Case Details Steps Expected Actual Result Status


case Name Result
ID

TC-24 Voter User logs in to User is (To be filled


Authenticati the voting portal. successfully post-testing). (Pass/Fail).
on via Face System initiates authenticated
Recognition face recognition if the facial
module. data matches.
User aligns their
face with the
camera.
System matches
the captured face
with the registered
facial data.

TC-25 Blockchain User confirms Vote is (To be filled post- (Pass/Fail).


Vote their vote selection. securely testing).
Recording System encrypts recorded in
and records the the
vote in the blockchain,
and
blockchain ledger.
confirmation
Confirmation is displayed to
receipt is displayed the voter.
to the user.

TC-26 Duplicate User attempts to System blocks (To be filled post- (Pass/Fail).
Vote log in and vote a the user from testing).
Prevention second time after voting again
submitting their and displays
vote. an appropriate
error message.
System checks
blockchain records
to ensure no
duplicate voting.

TC-27 System User logs in with System denies (To be filled post- (Pass/Fail).
Handling of an access and testing).
Invalid Face invalid/unregistered provides a
Recognition face. clear error
Attempts System runs message.
facial recognition
verification.
TC-28 Real-Time Administrator Real-time (To be filled post- (Pass/Fail).
Blockchain queries the vote count is testing).
Vote blockchain for vote accurately
Verification count. displayed.
System retrieves
and displays the
real-time count.

TC-29 Blockchain Simulate a The [To be filled [Pass/Fail]


Node Failure failure of one or blockchain during testing]
Recovery more blockchain handles the
nodes during vote failure
recording. gracefully and
successfully
Monitor the records the
system's ability to transaction
retry and confirm after recovery.
transaction
propagation across
remaining nodes.

TC-30 Unauthorize Attempt to The system [To be filled


d Access modify blockchain rejects the during testing] [Pass/Fail]
Attempt data using unauthorized
unauthorized request and
credentials. logs the
attempt.
Verify the
blockchain logs the
unauthorized access
attempt and
prevents
modification.

TC-31 Data Inspect data All data sent [To be filled


Encryption being sent to and to and during testing] [Pass/Fail]
Validation retrieved from the retrieved from
blockchain. the
Ensure all data is blockchain is
encrypted,
encrypted during ensuring
transmission and security.
storage.
5. Security and Performance

Test Test Case Details Steps Expected Actual Status


case Name Result Result
ID

TC-32 Unauthorized 1. Attempt access to Error: As expected. Passed


Access system without "Unauthorized
Prevention credentials. access. Login
required."

TC-33 Scalability 1. Simulate 1000 System handles As expected. Passed


Test concurrent users traffic without
voting. performance
degradation.

TC-34 Data 1. Inspect stored user All sensitive data As expected. Passed
Encryption and vote data. is encrypted.
Verification 2. Verify data
encryption.

You might also like