Stage 11 of 17

Stage 11 of 17

Test

25 test cases across 5 categories: Data Integrity, Relationships, Views, Flows, and Security. Each test case includes steps, expected result, and priority.

6

Data Integrity

5 high priority

4

Relationships

3 high priority

4

Views

4 high priority

6

Flows

4 high priority

5

Security

5 high priority

Data Integrity

TC-001

Create an Application record with all required fields

High

Steps

Open the app. Navigate to Applications. Select New. Complete all required fields (Application Name, Application Type, Status, Business Criticality, Hosting, Business Owner, Technical Owner, Date Added). Select Save.

Expected Result

Record is saved. Application appears in the Active Applications view.

TC-002

Attempt to save an Application record without a required field

High

Steps

Open the app. Navigate to Applications. Select New. Leave Application Name empty. Attempt to save.

Expected Result

Save is blocked. Error message displayed: "Application Name is required."

TC-003

Verify Risk Score calculates correctly

High

Steps

Create a Risk record with Likelihood = 4 and Impact = 5. Save the record.

Expected Result

Risk Score = 20 (4 × 5). The calculated column updates on save.

TC-004

Verify Risk Score updates when Likelihood changes

High

Steps

Open an existing Risk record with Likelihood = 4, Impact = 5, Risk Score = 20. Change Likelihood to 2. Save.

Expected Result

Risk Score updates to 10 (2 × 5).

TC-005

Verify Business Rule: Require Strategic Fit Rationale

Medium

Steps

Open an Application record. Set Strategic Fit Score to 4. Attempt to save without entering Strategic Fit Rationale.

Expected Result

Save is blocked. Strategic Fit Rationale field is highlighted as required.

TC-006

Verify Business Rule: Flag High Risk Score

High

Steps

Create a Risk record with Likelihood = 5 and Impact = 5 (Risk Score = 25). Save.

Expected Result

Error message displayed: "This risk has a score of 15 or above. It must be escalated to the IT Team Lead."

Relationships

TC-007

Verify Contract subgrid shows related contracts on Application form

High

Steps

Open the Salesforce CRM application record. Navigate to the Related Records tab. Check the Contracts subgrid.

Expected Result

The Salesforce Enterprise — FY2025 contract appears in the Contracts subgrid.

TC-008

Verify Integration subgrid shows source integrations

High

Steps

Open the Salesforce CRM application record. Navigate to the Related Records tab. Check the Integrations subgrid.

Expected Result

The "Salesforce CRM → Legacy Invoicing (Customer Data)" integration appears.

TC-009

Verify Risk subgrid shows related risks

High

Steps

Open the Legacy Invoicing System application record. Navigate to the Related Records tab. Check the Risks subgrid.

Expected Result

Both Legacy Invoicing risks appear: "No vendor support" and "Undocumented API".

TC-010

Verify lookup filters show only Active owners

Medium

Steps

Open an Application record. Select the Business Owner lookup field. Check the available options.

Expected Result

Only Business Owner records with Active = Yes are shown in the lookup.

Views

TC-011

Verify Missing Owner view shows applications with no owner

High

Steps

Create an Application record with Status = Active and leave Business Owner empty. Navigate to the Missing Owner view.

Expected Result

The new application appears in the Missing Owner view.

TC-012

Verify Contracts Approaching Renewal view

High

Steps

Set a Contract's End Date to today + 60 days and Status = Active. Navigate to Contracts Approaching Renewal view.

Expected Result

The contract appears in the view (Days to Renewal ≤ 90).

TC-013

Verify High Risk view shows risks with score ≥ 15

High

Steps

Create a Risk record with Likelihood = 3 and Impact = 5 (Risk Score = 15). Navigate to the High Risk view.

Expected Result

The risk appears in the High Risk view.

TC-014

Verify Past EOL view shows components past EOL

High

Steps

Create a Technology record with EOL Date = 01/01/2023 and EOL Status = Past EOL. Navigate to the Past EOL view.

Expected Result

The technology component appears in the Past EOL view.

Flows

TC-015

EOL Reminder flow fires for component within 90 days

High

Steps

Set a Technology record's EOL Date to today + 30 days and EOL Status = Approaching EOL. Run DToDLab020-EOLReminder manually.

Expected Result

Technical Owner of the linked Application receives an email with the component name, application name, and EOL date.

TC-016

EOL Reminder flow does not fire for component > 90 days away

Medium

Steps

Set a Technology record's EOL Date to today + 100 days. Run DToDLab020-EOLReminder manually.

Expected Result

No email is sent for this component.

TC-017

Contract Review Reminder fires on Reminder1 date

High

Steps

Set a Contract's End Date to today + Notice Period + 30 days (so Reminder1 = today). Run DToDLab020-ContractReviewReminder manually.

Expected Result

Contract Owner and Helena Marsh both receive reminder emails.

TC-018

Missing Owner Notification fires when owner is missing

High

Steps

Create an Application with Status = Active and no Business Owner. Run DToDLab020-MissingOwnerNotification manually.

Expected Result

IT Team Lead receives an email listing the application name.

TC-019

Missing Owner Notification does not fire when all owners are set

Medium

Steps

Ensure all Active applications have both Business Owner and Technical Owner set. Run DToDLab020-MissingOwnerNotification manually.

Expected Result

No email is sent.

TC-020

Risk Review Reminder fires for high-risk item and notifies IT Team Lead

High

Steps

Create a Risk with Likelihood = 4, Impact = 5 (Score = 20), Mitigation Status = In Progress, Next Review Date = today + 7 days. Run DToDLab020-RiskReviewReminder manually.

Expected Result

Risk Owner receives an email. IT Team Lead also receives an email (high risk escalation).

Security

TC-021

Viewer cannot create an Application record

High

Steps

Log in as a user with only the APM Portfolio Viewer role. Navigate to Applications.

Expected Result

New button is not visible or is disabled. User cannot create a record.

TC-022

Contributor can update an Application record

High

Steps

Log in as a user with the APM Portfolio Contributor role. Open an Application record. Change the Status field. Save.

Expected Result

Record is saved successfully.

TC-023

Security Manager can create a Risk record

High

Steps

Log in as a user with the APM Security Manager role. Navigate to Risks. Select New. Complete the form. Save.

Expected Result

Risk record is created successfully.

TC-024

Security Manager cannot create a Contract record

High

Steps

Log in as a user with the APM Security Manager role. Navigate to Contracts.

Expected Result

New button is not visible or is disabled.

TC-025

Contributor cannot delete a Technology record

High

Steps

Log in as a user with the APM Portfolio Contributor role. Open a Technology record.

Expected Result

Delete button is not visible in the command bar.

Testing Flows Without Waiting

All 4 flows have a Scheduled trigger. You do not need to wait for the schedule to fire. In Power Automate, open the flow and select Run (or Test → Manually → Run). This triggers the flow immediately. Check the run history to see if it succeeded and inspect each action's inputs and outputs.

Stage Complete — What You Now Have

  • ✓25 test cases across Data Integrity, Relationships, Views, Flows, and Security
  • ✓18 High priority test cases covering the most critical functionality
  • ✓Flow testing guidance: how to run scheduled flows manually without waiting
  • ✓Security testing: role-based access verification for all 4 security roles

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project