Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views26 pages

Sqat Lab Exercise

This document presents a software testing plan and manual test cases for a Task management website, focusing on validating both functional and non-functional requirements. It includes detailed test cases for various functionalities such as Sign-Up, Login, Session Management, Task Dashboard, Search and Filter, Task Creation, and Security Testing. Each test case outlines the preconditions, steps, expected results, and status for effective testing.

Uploaded by

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

Sqat Lab Exercise

This document presents a software testing plan and manual test cases for a Task management website, focusing on validating both functional and non-functional requirements. It includes detailed test cases for various functionalities such as Sign-Up, Login, Session Management, Task Dashboard, Search and Filter, Task Creation, and Security Testing. Each test case outlines the preconditions, steps, expected results, and status for effective testing.

Uploaded by

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

Addis Ababa Science and Technology University

College of Mechanical And Electrical Engineering


Department of Software Engineering
Course: Software Quality Assurance and Testing
Manual Testing (Lab 1)

Group Members:
1. Yeabsira Fikadu ETS1639/14
2. Yeabsira Mekonnen ETS1641/14
3. Yetnayet Lakew ETS1673/14

Course Instructor: Ins. Aster


Date: May, 2025
Introduction
This document outlines the software testing plan and manual test cases for the Task management
website. It is designed to validate that the application meets specified functional and
non-functional requirements as derived from user stories and universal testing standards.
1. Sign Up

Test Case Description Preconditions Test Steps Expected Result Status Defect
ID (pass/
fail)

TC-001-01 Access Application is 1. Navigate to A "Sign Up"


Sign-Up reachable in the button and email
Page browser application and password
URL. boxes are present
2. Click the on the Sign-Up
“Sign Up” page.
link/button.

TC-001-02 Successful Email is not 1. Enter a valid, The account has


Sign-Up already unused email been successfully
with Valid registered (e.g., created. The user
Credentials newuser@ex is taken to the
ample.com). login page after
2. Enter a strong seeing a success
password. message.
3. Click the
“Sign Up”
button.

TC-001-03 Sign-Up Sign-Up form 1. Enter an There is no


Fails with is open invalid email account creation.
Invalid or leave it The incorrect
Input blank. fields indicate
2. Enter a weak validation
password or problems.
leave it
blank.
3. Click the
“Sign Up”
button.

TC-001-04 Sign-Up Email is 1. Enter an There is no


Fails with already existing account creation.
Existing registered in email. "Email already in
Email the system 2. Enter a valid use" is the error
password. message that
3. Click the displays. The
“Sign Up” Sign-Up page is
button. where the user
stays.
2. Login

Test Case ID Description Preconditions Test Steps Expected Result Status Defect
(pass/fail)

TC-002-01 Visit the None Go to the The login form is


Login Page login page. displayed

TC-002-02 Successful User account Enter a valid Redirected to


Login exists email and dashboard
password,
then click
"Log In."

TC-002-03 Incorrect User account Enter a valid Error: "Incorrect


Password exists email and an email or
incorrect password."
password;
click "Log
In."

TC-002-04 Non-Existin Email is not Enter an Error: "Account


g Email registered unregistered does not exist."
email and a
valid
password;
click "Log
In."

TC-002-05 Empty User is not Leave email Error: "Fields


Fields logged in and/or cannot be
password empty."
empty; click
"Log In."
3. Session Management

Test Case ID Description Preconditions Test Steps Expected Result Status Defect
(pass/fail)

TC-003-01 Ensure the The user is 1. Log in to the User stays logged
user remains logged in with a system. in; no redirection
logged in valid session. to login page.
after 2. Reload the
reloading the page.
page.

TC-003-02 Ensure the The user is 1. Log in. The user remains
session logged in with a logged in; the
persists valid session. 2. Navigate session is
across through maintained.
internal multiple
navigation. internal pages
(e.g.,
Dashboard →
Tasks →
Settings).

TC-003-03 Redirect the The session 1. Log in. The user is


user after timeout is redirected to the
session configured (e.g., 2. Stay idle login page.
expiry. 15 mins); the until the
user is idle. session expires.

3. Refresh the
page or click a
protected route.
TC-003-04 Validate The user is 1. Log in. The user is
expired logged in and redirected to log
session switches to 2. Leave the in due to an
behavior in another tab; the page open in a expired session.
background timeout duration tab.
tabs. is set.

3. Switch to
another tab and
wait until
timeout.

4. Return and
reload or click
a route.

TC-003-05 Validate that User is logged 1. Log in. The user is logged
a tampered in. out and redirected
token fails 2. Open to log in.
session developer
validation. tools.

3. Modify or
delete session
token.

4. Reload the
page.

TC-003-06 Ensure a A valid session 1. Log in. The user stays


valid session token exists in authenticated and
token is localStorage or a 2. Close the tab accesses protected
accepted on cookie. without logging content.
every page out.
load.
3. Open a new
tab and go to a
protected route.
4. Task Dashboard

Test Case ID Description Preconditions Test Steps Expected Result Status Defect
(pass/fail)

TC-004-01 Verify 1. User is 1. Navigate to the • “Total Tasks”


summary logged in. Task Dashboard. shows 5.
counts
display 2. The user 2. Locate the • “Completed
has at least 5 “Total Tasks,” Tasks” shows
tasks: 2 “Completed 2.
completed, 3 Tasks,” and
pending. “Pending Tasks” • “Pending Tasks”
summary widgets. shows 3.

TC-004-02 Verify 1. User is 1. Navigate to the • Chart renders


task-complet logged in. Task Dashboard. without errors.
ion trend
chart 2. There is ≥7 2. Locate the • Each point plots
days of completion-trends the correct date vs.
historical chart. # tasks completed.
completion
data. 3. Hover over or • Tooltip (if
inspect individual present) shows
data points (if correct date and
interactive). count.
TC-004-03 Verify 1. User is 1. Confirm initial • After add: total
dynamic logged in. counts/chart in +1, pending +1;
dashboard Tab A. chart includes new
updates in 2. Dashboard point.
real time open in Tab 2. In Tab B, add
A. a new task. • After complete:
completed +1,
3. Task 3. Switch to Tab pending −1; chart
editor A and observe updates.
(add/edit/dele updates.
te) open in • After delete: total
Tab B. 4. In Tab B, −1 (and pending or
mark an existing completed adjusts);
task complete. chart updates.

5. Switch to Tab
A and observe
updates.

6. In Tab B,
delete a pending
task.

7. Switch to Tab
A and observe
updates.
5. Search and filter

Test Case ID Descripti Preconditions Test Expected Result Status (pass/fail) Defect
on Steps

TC-005-01 Search User has tasks Enter Tasks matching


by Task created full or the title appear in
Title partial real-time
task
title in
the
search
input

TC-005-02 Search User has tasks Enter a Relevant tasks are


by with descriptions keywor displayed instantly
Keywor d that
d appears
in one
or more
task
descript
ions

TC-005-03 Filter by User has both Select Only completed


Complet completed and filter: tasks are shown
ed Status pending tasks "Compl
eted"
TC-005-04 Filter by User has both Select Only pending tasks
Pending completed and filter: are shown
Status pending tasks "Pendin
g"

TC-005-05 Combine User has multiple Enter a Only pending tasks


d Search tasks keywor containing "report"
and d and are shown
Filter apply a
status
filter
(e.g.,
"Pendin
g" +
"report"
)

TC-005-06 No User has tasks Enter a Message shown: "No


Matchin random tasks match your
g or search/filter criteria"
Results unrelate
d
keywor
d

TC-005-07 Clear User has applied Click All tasks are


Search filters or search "Clear" displayed again
and or
Filters remove
search/f
ilter
inputs
6. Task Creation

Test Case ID Description Preconditions Test Steps Expected Result Status Defect
(pass/fai
l)

TC-006-01 Verify the User is logged 1. Log in. The "Create Task"
user can in. page/form is displayed.
navigate to 2. Click the
the "Create “Create Task”
Task" page. button from
the dashboard
or task list.

TC-006-02 Validate The user is 1. Attempt to The user is redirected to


unauthorize logged out. navigate to the login page or shown
d users the "Create an "Access Denied"
cannot Task" page message.
access the URL directly.
"Create
Task" page.

TC-006-03 Validate The user is on 1. Fill in the The task is added


user can the "Create task title and successfully, and the
create a Task" page. optional user is redirected or sees
task with details. a success message.
title and
details. 2. Click
“Save” or
“Create.”
TC-006-04 Validate The user is on 1. Leave the The error message is
task the "Create title field shown: “Title is
creation Task" page. empty. required.” The task is
fails if the not created.
required 2. Click
title is “Save”.
missing.

TC-006-05 Verify the Task creation 1. Create a The new task appears in
created task is successful. task with both the task list and the
appears in valid inputs. dashboard summary.
the task list
and updates 2. Navigate to
the the task list
dashboard. and
dashboard.

TC-006-06 Validate Dashboard 1. Create a Dashboard reflects new


real-time view is open or task. task without needing
update of returns after manual refresh (if
the creation. 2. Return to applicable).
dashboard dashboard
after task view.
creation.

3. Check task
count/statistic
s.

TC-006-07 Simulate The backend 1. Attempt to The user sees an error


task API is create a task message: “Task creation
creation mocked/offline with network failed. Please try again.”
failure and , or the user disabled OR
invalid

verify error enters invalid input.2.


message. data. Submit the
form.
TC-006-08 Validate Task creation 1. Fill out User sees error, but form
form fails due to form with retains input data.
preserves backend error. title/details.2.
input when Trigger
task failure
creation scenario.3.
fails. Observe form
state.
7. Security Testing

Test Case Descriptio Preconditions Test Steps Expected Result Status Defect
ID n (pass/fail)

TC-007-01 Verify 1. User is 1. Click on the • The Task List


user can logged in. “Task List” page loads without
access the navigation link error.
Task List (or enter
page /tasks URL). • The page header
or breadcrumb
2. Wait for shows “Task List.”
page to load
completely.

TC-007-02 Verify all 1. User is 1. Navigate to • Exactly 3 list


tasks are logged in. the Task List items appear.
displayed page.
in list 2. User has at • Each item is
format least 3 tasks in 2. Observe the visually separated
the system list container. (e.g., rows/cards).
(any status).
3. Count the
visible list items.
TC-007-03 Verify 1. User is 1. Navigate to • Every item All items
each task logged in. the Task List displays its title. correctly
shows page. show title,
title, 2. User has • Status matches the status, and
status, due tasks with title 2. For each list task’s real state.\ due date.
date set, status item, verify the
(completed/pe presence of: - • Due date is shown
nding), and Task title text. in correct format or
due date values - Status omitted if none.
(some may be indicator or
blank). label
(“Completed”/“P
ending”). - Due
date (formatted
“MMM D,
YYYY”) if set.

TC-007-04 Verify 1. User is 1. Navigate to • A friendly Empty-state


empty-stat logged in. the Task List message appears, message is
e message page. e.g., “You have no visible and no
when no 2. User has tasks yet.” tasks are
tasks zero tasks in 2. Observe the listed.
the system. main content • No list rows are
area. displayed.
8. Edit a task

Test Case ID Descriptio Preconditions Test Expected Result Status Defect


n Steps (pass/fail)

TC-008-01 Access Task exists Click on Edit Task form is


Edit Task the displayed
Page “Edit”
button
for a
specific
task

TC-008-02 Load Task exists Open Form fields are


Existing Edit pre-filled with the
Task Task current task
Details page information

TC-008-03 Update Task exists Change Updated title is


Task Title the title reflected in task list
in the and dashboard
edit form
and click
“Save”

TC-008-04 Update Task exists Edit the Updated details


Task descripti appear in the task
Details on/detail view
s and
click
“Save”

TC-008-05 Change Task exists Change Updated status


Task the status appears in the task
Status (e.g., list and dashboard
from
Pending
to
Complet
ed) and
click
“Save”

TC-008-06 Submit Task exists Clear Error message


with required shown: “Fields
Empty fields cannot be empty”
Fields and click
“Save”

TC-008-07 Update Server is Make Error message


Fails unavailable changes shown: “Update
(Server and click failed. Please try
Error) “Save” again later.”
while
offline or
when
server
returns
error
9. Task Deletion

Test Case Description Preconditions Test Steps Expected Status Defect


ID Result (pass/fail)

TC-009-01 Verify the The user is 1. Navigate The task is


user can logged in and to the task deleted
delete a task has at least list. successfully
from the task one task. and no
list. 2. Click the longer
"Delete" appears in
button for a the list.
task.

3. Confirm
deletion.

TC-009-02 Verify the User is logged 1. Try to Action is


delete option out or session access the denied or
is not has expired. task list. redirects to
available to login. No
unauthorized 2. Attempt to task is
users. delete a task deleted.
via UI or
API.

TC-009-03 Validate The user is on 1. Click the A


confirmation the task list "Delete" confirmation
dialog page. icon for a dialog
appears task. appears
asking if the
before task user wants to
deletion. 2. Observe proceed.
the
modal/dialog
.

TC-009-04 Validate The user 1. Click The task is


deletion is initiates task "Delete". not deleted.
cancelled deletion. The
when the 2. In the confirmation
user clicks confirmation dialog
"Cancel" on dialog, click closes.
the dialog. "Cancel".

TC-009-05 Ensure User is logged 1. Delete a The task is


successful in and deletes task. removed
deletion a task. from the list,
updates both 2. Observe and the
the task list task list and dashboard is
and dashboard updated
dashboard. summary. accordingly.

TC-009-06 Ensure the The task has 1. Delete a The task


deleted task been deleted. task. does not
does not reappear
reappear 2. Refresh after reload.
after a page the page.
refresh.

3. Check
task list.
TC-009-07 Simulate Backend 1. Click Error
backend service is "Delete". message is
failure mocked/offlin displayed:
during e. 2. Confirm “Failed to
deletion and deletion. delete task.
verify error Please try
handling. again.”
3. The API
returns
failure.

TC-009-08 Ensure the The backend 1. Attempt The task


task remains returns a deletion. remains in
in the list deletion error. the list with
when 2. Observe an
deletion the task list appropriate
fails. after failure. error
message
shown.
10. View and Edit Profile

Test Case Descripti Preconditions Test Steps Expected Result Status Defect
ID on (pass/fail)

TC-010-01 Verify 1. User is 1. Click on the • Profile page loads


access to logged in. “Profile” without error.
the navigation link
Profile (or enter • The header or
page /profile breadcrumb shows
URL). “Profile.”

2. Wait for page


to load.

TC-010-02 Verify 1. User is 1. Navigate to • Each field is


current logged in. the Profile page. pre-filled with the
profile user’s current
details 2. User has 2. Observe fields data from the
are existing profile for each profile backend.
displayed data (e.g., attribute (e.g.,
name, email). Name, Email).

TC-010-03 Verify 1. User is 1. Change one or • A success


successfu logged in. more fields (e.g., notification appears
l profile update the (e.g., “Profile
update 2. On the Display Name or updated”).
Profile page. Password).
• The form reloads and
2. Click “Save” shows the updated
(or “Update”) values in each field.
button.3. Wait
for server
response.

TC-010-04 Verify 1. User is 1. Enter invalid • An inline or top-level


error logged in. data (e.g., a error message appears
message password of only (e.g., “Password must
on failed 2. On the 3 characters). be at least 8
update Profile page. characters”).
2. Click
3. Trigger a “Save.”3. Wait • Form remains open
validation or for response. with user input
server error preserved.
(e.g., password
too short or
duplicate
email).

TC-010-05 Verify 1. User is 1. Reload or • All updated fields


profile logged in. revisit the Profile retain their new values
data page (F5 or after reload (no stale
persists 2. Profile has re-navigate). data).
after page been
reload successfully 2. Observe the
updated in a displayed values
prior step. in each profile
field.
11. Dark Mode

Test Case Descripti Preconditions Test Steps Expected Result Status Defect
ID on (pass/fail)

TC-011-01 Toggle to App is in Light Click the UI switches to Dark


Dark Mode theme Mode immediately
Theme toggle
button

TC-010-02 Toggle to App is in Dark Click the UI switches to Light


Light Mode theme Mode immediately
Theme toggle
button
again

TC-010-03 Theme Theme has been Refresh Previously selected


Persistenc toggled the page theme remains
e Across or reopen applied
Sessions the app

TC-010-04 Theme Simulate failure Click Error message is


Toggle toggle shown: "Failed to
Fails while change theme"
storage/sy
stem API
fails

You might also like