Create a scheduled job
Create a scheduled job when you need to automate execution of one or more tests at specific times or intervals.
Perform the following steps:
-
On the top toolbar, click the Scheduler button
and select Schedule new job. -
Enter a name for the job.
-
(Optional) To run all tests on a single device, enable Use a single device for all tests in this job and select a device.
This replaces the DUT variable value across included tests.
-
Click Add tests.
-
In the Configure tests dialog box:
-
Select tests or folders.
Selecting a folder includes all tests in that folder.
-
Configure runtime variables for the selected tests.
The scheduler shows a warning icon for missing required values. If you do not use a single device, set a value for the DUT variable in all tests.
-
Click Apply to confirm and close the dialog box.
-
-
(Optional) Adjust the execution order by dragging tests into sequence.
-
(Optional) In jobs with multiple tests, to continue running even if a test fails, select Ignore failed executions.
-
Enable notifications (By email, By SMS) and select the events that trigger them (failure, success, abort).
SMS requires the user to have an associated mobile number. If this is not the case, contact your Perfectoadministrator.
-
Under Recurrence, choose an interval or click Advanced to enter a cron expression. Disable Recurrence to create a job that does not run but that you can search for in your scheduled jobs list. For more information, see Recurrence and cron expressions.
-
Set the start date and time and choose the end condition: date/time, number of executions, or No end date.
-
Click Create.