Example #8- Do DESIGN of Calendar- Create Event

Note: “Please keep in mind that this is just an example and may not encompass all possibilities, but it’s intended to provide a helpful starting point for your ideas

Requirement: The system must provide users with the ability to create events by specifying event details like title, date & time, invitees, location, and more.

Decision Table: Create Event – Google Calendar

ConditionValid InputsInvalid Inputs
Event TitleNon-empty string (e.g., “Meeting”)Empty string or missing
Date & TimeValid date and time (e.g., “2024-08-14 10:00 AM”)Missing or invalid date/time format
InviteesOne or more valid email addresses (e.g., “user@example.com“)Missing or invalid email addresses
LocationValid location string (e.g., “Conference Room A”)Missing or empty string
NotificationSet notification (e.g., “10 minutes before”)Not set or invalid notification setting
Save/Submit ActionUser clicks the “Save” or “Submit” buttonUser does not click or cancel
RulesR1R2R3R4R5R6
Event Title ProvidedTTTFTT
Date & Time ProvidedTTFTTF
Invitees AddedTFTTFT
Location ProvidedTTFTFT
Notification SetTFTTTF
Save/Submit ClickedTTTTFF
T – True
F – False
N/A – Not Applicable
ActionsR1R2R3R4R5R6
Event Created Successfully
Error: Date & Time Required
Error: Event Title Required
Default Values Applied
Event Creation Fails
Notification Not Set

Test Scenarios: The column of every rule (combination of conditions) in the table above is translated into a test scenario as below: 

RuleTest IDTest ScenarioType
R1TS1Ensure all event details (title, date & time, invitees, location, notification) are applied and the event is created.+ve
R2TS2Ensure event creation with title, date & time, but no invitees and location.+ve
R3TS3Ensure an error is shown when date & time are missing.-ve
R4TS4Ensure an error is shown when both date & time and location are missing.-ve
R5TS5Ensure no event is created when the title is missing.-ve
R6TS6Ensure default values apply when inputs are invalid.+ve
Scroll to Top