Functional Testing: Schedules

Functional Testing: Schedules

Overview

Use this page to create and manage cron schedules that run a Functional Testing package automatically. A schedule pairs one project from a package with a cron expression, a text pattern of minute, hour, day, month and weekday fields, so the run starts unattended on a recurring cadence instead of being triggered by hand every time. It also records which engine, pass threshold and timing each firing uses.

A schedule depends on a package that already holds a project and runnable testcases, created on the Packages page, and on a configured engine, with any required tags, set up on the Engines page. Each firing produces a run you can review on the Run history page, and if that run ends Failed or Unfinished, any linked Testing-scope alert profile from Alert profiles is evaluated.

This page lists every schedule with its project, cron, enabled state and next and last run, and lets you add, edit, enable or disable, run on demand, or delete a schedule. An Upcoming view previews the runs enabled schedules will start over the next 7 days, grouped by day.

Key concepts

  • cron expression - A five-field pattern (minute hour day month weekday) that defines when a schedule fires on its own, without anyone starting the run.
  • package - A collection of one or more projects and their testcases that a schedule runs from. (related: Functional Testing: Packages)
  • Testing-scope alert profile - An alert profile scoped to Functional Testing that a schedule can link; it is evaluated only when a scheduled run ends Failed or Unfinished. (related: Alerting: Alert profiles)
  • engine - The configured Functional Testing engine, optionally narrowed by tags, that executes the scheduled run. (related: Functional Testing: Engines)
  • Ok threshold - The minimum percentage of testcases that must pass for a run to count as a success rather than Failed.

When to use it

  • Automate a recurring regression or smoke run of a package's project instead of starting it by hand every time.
  • Set up alerting so a team is notified when a scheduled functional run ends Failed or Unfinished.
  • Check the Upcoming view to see what runs will start in the next 7 days before a change freeze or maintenance window.
  • Temporarily pause automated runs with Enabled off without losing the schedule's configuration.
  • Trigger a schedule's run immediately with Run now outside its normal cron cadence.

Before you begin

  • A package with at least one project and runnable testcases must exist, created on the Functional Testing: Packages page.
  • A Functional Testing engine, with any tags you want to target, must be configured on the Functional Testing: Engines page.
  • To get alerts on failed or unfinished runs, a Testing-scope alert profile should exist, or create one inline from the schedule dialog (see Alerting: Alert profiles).
  • Your role must be allowed to create or change schedules; a read-only role sees row actions disabled with the reason "Your role cannot change schedules".

Common workflows

Create a cron schedule for a package run

Persona: Test operator

  1. Click Add schedule.
    • Expect: The create-schedule dialog opens with empty Name, Package and Project fields, and the Cron expression pre-filled to 0 2 * * *.
  2. Enter a Name such as "Lacerta shift-change ramp", then select a Package and a Project within it.
    • Expect: The Testcases list populates with the runnable testcases from the selected project.
  3. Pick a Cron expression preset, or type a custom pattern, and set the Time zone.
    • Expect: The Cron expression field updates to the chosen pattern, for example 0 2 * * * for Daily 02:00.
  4. Tick one or more Alert profiles (Testing scope), or click Create alert profile to add one inline.
    • Expect: The selected profiles show as ticked in the list, ready to be linked when the schedule is saved.
  5. Click Save.
    • Expect: The dialog closes and the new schedule appears as a row in the Schedules table with a calculated Next run time.

Verify: Reopen the Schedules page and confirm the row shows the schedule's name, project, cron, Enabled set to On, and a populated Next run date; the count badge next to the heading increases by one.

Run a schedule on demand and confirm alerting

Persona: Test operator

  1. In the Schedules table, find the schedule and click Run now.
    • Expect: A status message confirms the run was started, with any warnings listed, and an Open the run link appears.
  2. Click Open the run.
    • Expect: The run's own detail page opens, showing its live progress.
  3. If that run ends Failed or Unfinished, check the alert profiles linked to the schedule.
    • Expect: Each linked Testing-scope alert profile evaluates the result and fires according to its own configuration.

Verify: The schedule's Last run column updates to the new run's timestamp; if the run failed or did not finish and alert profiles were linked, the configured alert channel receives a notification.

Steps

Step 1

Open the Schedules page under Functional Testing.

Expected result: The page loads to its starting state: the heading shows a count of 0, and a centered panel reads "No schedules yet" with a prompt to add a schedule to run a project of a package on a cron expression.

This is the starting point for automating recurring Functional Testing runs instead of starting them manually every time.

  • The count badge next to Schedules reads 0 until a schedule is created.
  • Add schedule appears both in the header and centered in the empty-state panel; both open the same dialog. Functional Testing: Schedules - step 1

Field reference

Field Purpose Format / Validation Required Default
Name Identifies the schedule in the list and in search results. free text Yes -
Package Chooses which package supplies the project and testcases this schedule runs; changing it resets the Project and Testcases selections below it. dropdown of existing packages Yes -
Project Chooses which project inside the selected package this schedule runs; it determines the testcase list below it. dropdown, populated from the selected Package Yes -
Testcases Narrows the run to specific testcases; leaving none ticked runs every runnable testcase in the project, while ticking a subset keeps future runs scoped to just those cases. multi-select checklist, grouped by testcase type No none ticked (runs every runnable testcase)
Engine Selects which configured engine executes the run. dropdown of configured engines No -
Engine tags Narrows eligible engines further; when more than one tag is set, an engine must match all of them to qualify, so adding tags tightens which engine can pick up the run. multi-select tags No -
Cron expression Sets the recurring time the schedule fires, as five fields: minute, hour, day, month, weekday. Use a preset button for common cadences or type a custom pattern for anything finer. text, 5-field cron syntax Yes 0 2 * * *
Time zone Sets which time zone the cron expression is evaluated in, so "02:00" means that zone's local time rather than the appliance's own zone. text, IANA or Windows time zone identifier No UTC
Ok threshold (%) Sets the minimum pass percentage for the run to count as a success. Lowering it tolerates some testcase failures before the run is marked Failed; raising it toward 100 requires a clean pass. numeric percentage No 100
Max run time (minutes) Caps how long a run may execute before it is stopped. Raise it for long test suites; lower it to bound how long an engine stays occupied by this schedule. numeric, minutes No 120
Enabled Turns the schedule's automatic cron firing on or off. Clearing it stops future scheduled runs without deleting the configuration; Run now still works while it is cleared. checkbox No checked (on)
Headless browsers Chooses whether the run executes without a visible browser UI. Leave it checked for faster, unattended runs; clear it when you need a visible render surface for the interactions under test. checkbox No checked (on)
Alert profiles (Testing scope) Ticks which Testing-scope alert profiles are evaluated when this schedule's run ends Failed or Unfinished. Tick more profiles to notify more channels or teams on the same failure. multi-select checklist No none ticked
Search the schedules Filters the schedule table to rows whose name, project or package name contains the typed text. free text No empty

Column reference

Column What it shows How to read it
Name The schedule's name as set in the create/edit dialog. Read it as the schedule's identifying label; it is sortable and searchable.
Project The project this schedule runs. Shows the package's project name, or "(deleted package)" if the underlying package no longer exists.
Cron The schedule's cron expression and time zone. The expression is followed by its time zone in parentheses, so you can confirm when it actually fires without opening the dialog.
Enabled Whether the schedule's cron firing is currently active. On means the cron expression will fire future runs; Off means only Run now can start a run.
Next run The next time the schedule is due to fire. Blank when the schedule is disabled or has no future occurrence; otherwise sortable by soonest.
Last run The most recent time the schedule actually ran. Blank if the schedule has never run; sorted most-recent first by default.

Controls reference

Help icon

Opens contextual help for this page.

When to use: Use it when you need an explanation of the page without leaving it.

Side effects: Read-only; no data changes.

Refresh

Reloads the schedule list from the server.

When to use: Use it after another user or process may have changed schedules, or after a Run now to pick up updated Next/Last run times.

Side effects: Read-only; re-reads data, writes nothing.

Add schedule

Opens the create-schedule dialog, with the same action available from the header button and the empty-state panel button.

When to use: Use it to set up a new recurring run of a package's project.

Side effects: Opens a dialog only; the schedule is not created until Save is clicked inside it.

Table / Upcoming view switch

Toggles between the full schedule table (Table) and a day-by-day preview of runs enabled schedules will start in the next 7 days (Upcoming).

When to use: Use Table to manage schedules; use Upcoming to see what will run soon, for example before a maintenance window.

Side effects: Read-only; changes which view is displayed, no data is modified.

Run now

Starts a run of the schedule immediately, outside its cron cadence. Available from both the Table and Upcoming views.

Side effects: Mutating; starts a new run and updates the schedule's Last run once it completes. A status message, including any warnings, appears with a link to open the run.

Enable/disable toggle

Flips the schedule's Enabled state.

When to use: Use it to pause or resume automatic cron-triggered runs without deleting the schedule.

Side effects: Mutating; disabling stops future scheduled runs, but does not cancel a run already in progress.

Edit/View

Opens the same dialog used by Add schedule, pre-filled with the schedule's current configuration.

When to use: Use it to change a schedule's package, project, cron, thresholds or linked alert profiles.

Side effects: Opens a dialog only; shows as Edit and is writable for a role allowed to change schedules, or as View and read-only otherwise. Changes take effect only after Save.

Delete

Opens a "Delete schedule?" confirmation before removing the schedule.

When to use: Use it to permanently remove a schedule you no longer need.

Side effects: Mutating and destructive once confirmed; the schedule and its future runs stop, but runs it already started are not affected. The API can refuse the delete, in which case the dialog shows the reason instead of closing.

Open the run

Navigates to the run started by Run now.

When to use: Use it right after Run now to watch that specific run.

Side effects: Read-only navigation; no data changes on this page.

Dismiss

Closes the Run now status message.

When to use: Use it once you have read the status or no longer need the link to the run.

Side effects: Read-only; hides the banner, does not affect the run itself.

Cron presets

Fills the Cron expression field with a canned pattern: Hourly, Daily 02:00, Weekdays 07:00 or Weekly Mon 06:00.

When to use: Use a preset for a common cadence instead of typing the cron fields by hand.

Side effects: Local to the open dialog only; takes effect once Save is clicked.

Every testcase

Clears all ticked testcases in the dialog.

When to use: Use it to revert from a narrowed testcase selection back to running every runnable testcase in the project.

Side effects: Local to the open dialog only; takes effect once Save is clicked.

Create alert profile

Opens an inline alert-profile creator inside the schedule dialog.

When to use: Use it when no suitable Testing-scope alert profile exists yet, so you do not have to leave the schedule dialog to make one.

Side effects: Mutating once submitted; the new profile is created immediately and ticked in the Alert profiles list, but is linked to this schedule only after Save.

Removes an alert profile that is no longer a valid Testing-scope profile from the schedule's linked list.

When to use: Use it when a previously linked profile is shown as no longer linkable, to clear it before saving.

Side effects: Local to the open dialog only; takes effect once Save is clicked.

Save

Persists the schedule being created or edited.

When to use: Use it once Name, Package, Project and Cron expression are filled in and any desired testcases, alert profiles and thresholds are set.

Side effects: Mutating; creates or updates the schedule and closes the dialog on success. On failure, shows an inline error such as "Couldn't save the schedule: ..." and keeps the dialog open with your entries intact.

Cancel

Closes the create/edit dialog without saving.

When to use: Use it to abandon changes; the same effect is available from the dialog's close (X) control or the Escape key.

Side effects: Read-only; if the form has unsaved changes, asks "Discard changes?" before closing.

Verify the result

When a schedule is created, it appears as a row in the Schedules table with its Name, Project, Cron expression and time zone, Enabled state, and Next run date, and the count badge next to the Schedules heading increases from 0. Switching to the Upcoming view lists that schedule's runs for the next 7 days, grouped by day, provided the connected API is 1.0.1902 or later. If nothing appears after saving, confirm the dialog actually closed without showing an inline error, then click Refresh to reload the list. A schedule that shows a Next run date in the table but nothing in Upcoming is most likely blocked by an older API version rather than a configuration problem.

Troubleshooting

  • Symptom: Add schedule and the row actions are disabled. Fix: your role likely cannot change schedules; a read-only role sees the reason "Your role cannot change schedules" and needs schedule-write permission from an admin.
  • Symptom: the Package field shows "The package no longer exists; pick another one." Fix: the linked package was deleted on the Packages page; pick a different package in the dialog and reselect Project and Testcases.
  • Symptom: Save fails with "Couldn't save the schedule: ..." Fix: read the inline error, for example an invalid Cron expression or an alert profile that is not Testing scope, and correct that field before retrying.
  • Symptom: the Upcoming view shows a message that this API version cannot list upcoming runs. Fix: the connected API is older than 1.0.1902; use the table's Next run column instead until it is upgraded.
  • Symptom: Delete stays on "Deleting..." or returns a refusal. Fix: the API has refused the delete; read the reason shown in the dialog, and note that runs the schedule already started keep running regardless.
  • Symptom: a ticked alert profile never fires even though a scheduled run failed. Fix: confirm the profile is a Testing-scope profile and not based on an API-flow-only field such as failed_nodes, since functional runs never populate that data.
  • Prerequisite: Functional Testing: Packages - a package with a project and testcases must exist before a schedule can run it
  • Prerequisite: Functional Testing: Engines - the engine and tags selected in the schedule dialog are configured there
  • Prerequisite: Alerting: Alert profiles - Testing-scope alert profiles linked to a schedule are created and managed there
  • Next step: Functional Testing: Run history - each schedule firing, or a manual Run now, produces a run reviewed on that page
  • See also: Functional Testing: Functional Testing dashboard - gives an overview of functional testing activity across packages and schedules
Was this article helpful?
0 out of 0 found this helpful