Stage 11 of 17
16 test cases across 6 categories. Each test case is mapped to requirements, has preconditions, step-by-step instructions, and a clear expected result. Execute every test case and record the outcome before proceeding.
2
Happy Path
4
Views
5
Automation
2
Data Quality
2
Permissions
1
History
Record a training completion and verify expiry date
Preconditions
Logged in as Sandra Obi (L&D). CRS-001 (Data Protection Awareness, 12 months) exists in the Courses list.
Steps
Expected Result
Record created. ExpiryDate is exactly 12 months after CompletionDate. Record appears in the Valid Training view (if expiry is more than 60 days away).
Renewal creates a new record, not an update
Preconditions
REC-001 (Sophie Clarke, Data Protection Awareness, expired Jan 2025) exists.
Steps
Expected Result
Two records exist: REC-001 (expired) and the new record (valid). REC-001 has not been modified. Both records are visible in the All Items view.
Valid Training view shows only valid records
Preconditions
Training records exist with a range of expiry dates.
Steps
Expected Result
Only records where ExpiryDate > today + 60 days are shown. Expired records (e.g. REC-001) are not shown. Expiring Soon records (ExpiryDate ≤ today + 60) are not shown.
Expiring Training view shows records expiring within 60 days
Preconditions
Training records exist with expiry dates within the next 60 days.
Steps
Expected Result
Only records where ExpiryDate is between today and today + 60 days are shown. Valid records (more than 60 days) are not shown. Expired records are not shown.
Expired Training view shows only expired records
Preconditions
REC-001 (Sophie Clarke, Data Protection Awareness, expired Jan 2025) exists.
Steps
Expected Result
REC-001 appears. REC-015 (Sophie Clarke, Data Protection Awareness, valid Jan 2026) does not appear.
Active Employees view excludes inactive employees
Preconditions
EMP-010 (Aisha Patel, Active = No) exists in the Employees list.
Steps
Expected Result
Aisha Patel does not appear. All 9 active employees appear.
60-day reminder sent and flag updated
Preconditions
A training record exists with ExpiryDate = today + 60 days and Reminder60Sent = No.
Steps
Expected Result
One reminder email received by the employee. Manager is copied. Reminder60Sent = Yes on the training record.
No duplicate 60-day reminder on second run
Preconditions
TC-007 has been completed. Reminder60Sent = Yes on the test record.
Steps
Expected Result
No second reminder email is received. The flow runs successfully but sends no email for this record (Reminder60Sent is already Yes).
30-day reminder sent independently of 60-day reminder
Preconditions
A training record exists with ExpiryDate = today + 30 days, Reminder60Sent = Yes, Reminder30Sent = No.
Steps
Expected Result
One 30-day reminder email received. Reminder30Sent = Yes. Reminder60Sent remains Yes (not changed).
7-day reminder sent independently
Preconditions
A training record exists with ExpiryDate = today + 7 days, Reminder60Sent = Yes, Reminder30Sent = Yes, Reminder7Sent = No.
Steps
Expected Result
One 7-day reminder email received. Reminder7Sent = Yes. Reminder60Sent and Reminder30Sent remain Yes.
No reminder sent for records with no expiry date
Preconditions
A training record exists for CRS-009 (Project Management Fundamentals, ValidityMonths = 0) with no ExpiryDate.
Steps
Expected Result
No reminder email is sent for this record. The flow handles the null ExpiryDate without error.
CompletionDate field enforces date format
Preconditions
Logged in as Sandra Obi.
Steps
Expected Result
The date picker does not allow invalid dates. The field shows a date picker, not a free-text field. The invalid date cannot be entered.
Lookup column prevents invalid employee reference
Preconditions
Logged in as Sandra Obi.
Steps
Expected Result
The Employee field shows only employees from the Employees list. A non-existent employee cannot be entered.
L&D team can create and edit training records
Preconditions
Logged in as Sandra Obi (L&D team, Edit permission).
Steps
Expected Result
Both create and edit actions succeed. No permission error is displayed.
L&D team cannot delete training records
Preconditions
Logged in as Sandra Obi (L&D team, Edit permission).
Steps
Expected Result
No Delete option is available to Sandra Obi. Edit permission does not include Delete.
Historical records are retained after renewal
Preconditions
REC-001 (Sophie Clarke, Data Protection Awareness, expired) and REC-015 (Sophie Clarke, Data Protection Awareness, valid) both exist.
Steps
Expected Result
Both REC-001 and REC-015 are visible. REC-001 has not been deleted or modified. The history is preserved.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.