Testing - NextDrive Autos
Testing - NextDrive Autos
NextDrive Autos
Replacement-car management
project
Functional testing
Robin Melis
Test team Lead
AppDev Company
AppDev Company
Version History
Document approval
1. Description
Project reference:
REF Description
F01-1 Manage Inventory
F01-1-a Add new cars to the replacement-car inventory.
F01-1-b Update car status (available, in-use, in-maintenance, in-need-of-
repair).
F01-1-c Remove cars from inventory when sold or broken.
Actor: Staff
Actor: Staff
Actor: Staff
Overview
Title Inventory management
Description The user can add, remove, or update items (cars)
Actors Dealership Staff/Employee
Pre-conditions The user has an employee role
Basic flow
When opening the home screen, an option is available for inventory management. When this is
clicked another 3 options will appear (add car, update status, remove car). Each of these will
continue to their own corresponding pages for adding, updating, or removing cars from the
database.
Post condition
In case of authentication success: redirection to the originally selected page
In case of authentication failure: show error message and redirect to home screen.
Test case
ID TM_REG-001
Test
scenario Open inventory page
Pre-
condition Logged in employee user.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click ‘car-
managem User is redirected to
ent’ User is redirected to the the car
button car management page. management page. PASS
Test case
ID TM_REG-002
Test
scenario View car management page
Pre- Logged in employee user & on car
condition management page.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Test case
ID TM_REG-003
Test
scenario Add car
Pre- Logged in employee user & on car
condition management page.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the The user gets a pop up
‘add new to add a new car, in A pop up appears in
car’ which they can fill in a which we can fill in
button form with data. the new cars data. PASS
The pop-up closes
Click the The pop up should say and we can see the
‘confirm’ the user needs to fill in newly added car in
button No fields all fields to continue. the list from before. FAIL
The pop-up closes
Click the The pop up should say and we can see the
‘confirm’ the user needs to fill in newly added car in
button All fields all fields to continue. the list from before. PASS
Test case
ID TM_REG-004
Test
scenario Edit car
Pre- Logged in employee user & on car
condition management page
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the
‘edit car’
button A pop up appears with A pop up opened
behind a the chosen car’s info with the clicked cars
car filled in. information. PASS
Edit the
wanted We can now edit the
informati The user can change information in all
on All fields data in certain fields. fields FAIL
Edit the Certain The user can change We can now edit the PASS
Replacement-car management project | Functional Testing
Page | 6
AppDev Company
wanted
informati information in a few
on fields data in certain fields. fields
The pop-up closes and
the changed information
is saved to the
database, the user can The pop up closed
Click the now see the list as again; we can see
‘save’ before but with the the info we changed
button changed info. in the list now. PASS
Test case
ID TM_REG-005
Test
scenario Delete car
Pre- Logged in employee user & on car
condition management page
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the
‘delete A pop up appears with A pop up opened
car’ the chosen car’s info with the clicked cars
button filled in and an extra information; we can
behind a field for reasoning now give a reason
car behind the deletion. for deleting the car. PASS
The pop-up closes and
the car is ‘deleted’ from
the database, the user
can now see the list as The pop up closed,
Click the before, but the car is and the car is gone,
‘delete’ gone. (only if reason is even though we
button No info filled in) filled in no fields. FAIL
The pop-up closes and
the car is ‘deleted’ from
the database, the user
can now see the list as
Click the before, but the car is
‘delete’ Filled in gone. (only if reason is The pop up closed,
button reason filled in) and the car is gone. PASS
REF Description
F01-2 Customer Booking Management
F01-2-a View + manage customer booking for replacement-cars.
F01-2-b Assign specific cars to customers.
F01-2-c Update booking status (confirmed, completed, cancelled).
F01-2-d Notify customer about finished maintenance/repair.
Actor: Staff
Actor: Staff
Actor: Staff
Actor: Staff
Overview
Test case
ID TM_REG-006
Test
scenario Open Bookings page
Pre-
condition Logged in employee user.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click
‘booking-
managem User is redirected to the User is redirected to
ent’ booking management the booking
button page. management page. PASS
Test case
ID TM_REG-007
Test
scenario View booking management page
Pre- Logged in employee user & on
condition booking management page.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Test case
ID TM_REG-008
Test
scenario Add booking
Pre- Logged in employee user & on
condition booking management page.
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the The user gets a pop up A pop up appears in
‘add to add a new booking, in which we can fill in
booking’ which they can fill in a the new bookings
button form with data. data. PASS
The pop-up closes
and we can see the
Click the The pop up should say newly added
‘confirm’ the user needs to fill in booking in the list
button No fields all fields to continue. from before. FAIL
The pop-up closes
and we can see the
Click the The pop up should say newly added
‘confirm’ the user needs to fill in booking in the list
button All fields all fields to continue. from before. PASS
Test case
ID TM_REG-009
Test
scenario Edit booking status
Pre- Logged in employee user & on
condition booking management page
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the
‘edit
status’
button A pop up appears with A pop up opened
behind a the chosen booking’s with the clicked
booking info filled in. booking information. PASS
Edit the The user can change the We can now edit the
status status of the booking. status PASS
The pop-up closes and
the changed status is
saved to the database, The pop up closed
Click the the user can now see again; we can now
‘save’ the list as before but see our newly
button with the updated status. inputted status PASS
Test case
ID TM_REG-010
Test
scenario Assign car
Pre- Logged in employee user & on
condition booking management page
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the
‘assign A pop up appears with A pop up opened
car’ the chosen car’s info with the clicked cars
button filled in and an extra information; we can
behind a field for reasoning now give a reason
booking behind the deletion. for deleting the car. PASS
The pop up should stay
open and a notification The pop stayed
Click the should be visible telling open and there was
‘confirm’ the user to select a car an error telling us to
button No info before confirming. fill in the fields. PASS
The pop-up closes and The pop closed and
Click the the selected car is now we can see the car
‘confirm’ Selected in the booking the user in the booking we
button car was editing. just assigned. PASS
3.1. Support
This activity will refer to the following non-functional requirement:
REF Description
NF02 Support for multiple languages (English, French, Dutch in
Belgium for example).
NF03 There should be real-time updates in the application to prevent
mistakes due to incorrect information.
Replacement-car management
Project name project
Module name Non functional
Reference document WRT-2024-31415
Created by Robin Melis
Date 28/05/2024
Test case
ID TM_REG-011
Test
scenario Multilanguage support
Pre-
condition Any user
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Click the
‘change A pop up appears with
language’ multiple languages to A pop-up pops up
button choose from with languages PASS
The rest of the site
Choose a should be translated to Now the site is in my
language the chosen language chosen language PASS
Test case
ID TM_REG-012
Test
scenario Real-time updates
Pre- Logged in employee user on any list
condition view
Status
Test steps Test data Expected result Actual result (PASS/FAIL)
Whenever the colleague
adds an item, all other
View list lists that are open
while should automatically My list refreshed and
colleague refresh to show this we can now see the
adds item item. newly added item. PASS
The second person to
confirm their edit should
get a pop-up warning
Edit item them the item was just
while updated (together with
colleague the new data) after this Our changes were
edits the the employee can still made, overwriting
same confirm or discard their the changes our
item changes. colleague just made. FAIL
The second person to
confirm their edit should
get a pop-up warning
Edit item them the item was just A pop up appeared
while updated (together with and there was an
colleague the new data) after this error telling us the
edits the the employee can still item was just edited,
same confirm or discard their we chose to discard
item changes. our own changes. PASS
The second person who
edits the item should
get a pop-up warning
them the item was just
deleted (together with The pop appeared
Edit item the reason) after this and there was an
while the employee can error telling us the
colleague choose to restore the item was just
deletes item and save their deleted, we chose to
the same changes or discard their discard our own
item changes. changes. PASS