The Schedules section provides options to execute tests in a preplanned manner at specific intervals of time on rTesters. To create a schedule, simply select “Automation” option from navigation and go to “Schedules” panel.
Here you can see the list of all schedules and basic information about them. This list gives you the options to view, edit, activate, deactivate and run schedules manually.
From this list, you can see which schedules are active and which are not active.
Indicates the schedule is active. Indicates the schedule is inactive
* Use the filter to search schedules.
Create a schedule
To create a schedule, click the “+ Schedule” button on the top right side of the page.
The “New Schedule” form is opened.
Name: Specify a name for the schedule.
It is very important to give the schedule a descriptive name. As multiple schedules are created, it becomes very difficult to administer them if they all have the same name.
Description: Enter a description for the schedule.
Schedule Type: Choose a schedule type. Tests can be scheduled in two methods.
- Automatic: Automatic schedule let you schedule the test to run periodically. This type of schedule is highly customizable. When you make this selection, the days, hours and frequency options become active.
The AppVerify will execute the tests based on the schedules dependencies, frequency, and calendar selection.
- Manual: The AppVerify will not execute the tests until you do so manually by using the “Run now” option in the schedules list.
Use a custom calendar: Checking this box will give you the option to select a calendar from the calendars list.
For more information on customizing calendars, please refer to Calendars section.
Set schedule active: Checking this box will make the schedule active.
If the box is not checked, the schedule will never execute automatically unless you run it manually.
Here you need to specify the execution frequency of the schedule:
Run-on: Choose the days for the test to execute.
During hours: Choose the hours for the test to execute.
Run once: Specify how often you want, in minutes, the schedule to be run.
Exception days: Choose a calendar to exclude specific days or dates. For example, your schedule is set up to run every Monday. However, you do not want the schedule to run on holidays. Therefore, when you select a calendar as an exception, the system bypasses running the schedule. For more information on customizing calendars, please refer to Calendars section.
Select test plans: Select the test plans you want to execute for the schedule.
Select robot group: Select a robot/robot group to be used to execute the schedule. There are 3 options:
- All Available Robots: This is the default selection. The schedule is executed by using all available robots.
- A robot group: All available robots associated with the selected robot group will run the schedule. To learn how to manage robot groups, see this article.
- A specific robot: The schedule is executed by using the selected robot.
Note: If there are no common robots between what was chosen for the schedule and what was chosen for a process in the Test plan of the schedule, the Manager will stop the execution with a clear message stating that it could not find the desired robot to play the process.
Once you are done, click “Create”. The “New schedule” form closes and the new schedule is displayed in the schedules list.
Edit a schedule
Hover over the schedule and click “Select” , make the changes, and then click “Update” in the schedule form. The changes are saved.
Delete a schedule
Hover over the schedule and click “Select” , then click “Remove” to delete a schedule.
Activate and deactivate a schedule
To activate or deactivate a schedule, select the schedule and check or uncheck “Set schedule active.” option. Alternatively, you can click the toggle in the schedules list to activate or deactivate a schedule.
Once an active schedule reaches to the next run date, a request is created in the queue. You can view the requests started by a specific schedule on “Automation Queue” section. To learn more about Automation Queue, see this article.
How does scheduling work in AppVerify?
1. If a schedule contains multiple Test plans with multiple processes on the same rTester, the first test plan including all the processes is executed, then the second Test plan, and so on.
2. If a schedule contains multiple Test plans with multiple processes on multiple rTesters, all assigned rTesters will execute all the processes of the first Test plan. When the execution of the first Test plan is completed, then the rTesters will start executing the second Test plan and so on.
3. If you set multiple schedules on the same rTester and their execution time overlaps, the requests are queued, in a waiting status. The rTester executes the queued requests in sequential order.
4. If the rTester is offline for any reason, the schedules that were supposed to be run at that point are completed with errors.
5. If the rTesters are busy or reserved, the requests will execute the schedules or test runs as soon as the rTesters become available.