Schedule Test List Execution
Once you've correctly configured a Scheduling Server and you've attached at least one Execution Server to it, you can proceed with scheduling a test run.
You can also review our Telerik TV episode on Scheduling Execution and Viewing Results for a video walk-through of this process.
- Open the Test Lists tab. If you have not created a test list, add one by clicking the List button in the Add ribbon. Add at least one test to it.
- Edit the Test List Settings.
- Once you have a test list, you can schedule it. Click Schedule TestList in the Scheduling ribbon.
- Select the Date and Time.
- Select the desired time for this test run. By default this is set to 5 minutes from the current system time. You can also configure the test list to be recurring.
Note: Slight time differences are to be expected between the time you've picked and the actual execution time. Please see this article on the subject.
- Select Machine(s). This step lets you pick the Execution Server on which to run the test list. If the list is empty, add at least one Execution Server (see Create an Execution Server). Picking multiple servers will result in the Test List executing simultaneously on all selected machines.
Note: Multiple test lists cannot execute on the same machine simultaneously and there’s also no queuing for pending executions (yet). If two test lists try to run on the same machine, one will execute successfully while the other will return a Machine is busy status and will not execute. Because of the implemented architecture, some test lists scheduled close together will start executing simultaneously. To avoid this, don't schedule test lists too closely together on the same machine.
Note: Test Studio ignores time zone differences and completely disregards the date and time on the Execution Server(s). The only date and time taken into account is on the machine where the Scheduling Server is located. This can lead to problems when the Scheduling Server is not located on the machine you're scheduling from and there are time zone differences between the two machines.
- Click Next and then Select Notification Settings.
This steps lets you configure the e-mail notification you will receive upon test list completion. Note: Notifications are sent locally from each Execution Server. This means that the Server needs the necessary permissions to use the SMTP server with credentials as configured in the Create a Scheduling Server section. Without these SMTP settings, Step 3 will be skipped.
To disable mail notification, check "I'm good...no mail for me!" If you check "Send test results by email," select one of these three options:
- Always - receive a notification no matter what the result, pass or fail.
- Only on unexpected errors (not related to the app) - send an email only if there is a test failure not related to the actual application under test. (For example, the Execution Server application is not running on the intended machine, the machine is turned off, etc.)
- Only on execution errors (related to the app) - sends an email only if a "normal" error is encountered. (For example, an error that's related to the application under test such as missing controls, wrong text values, etc.)
Under Email Customization, customize the recipients, subject line, content, and attachments.
Under Subject Line, type "//" to invoke the token field menu and include data from the test results in the subject line.
Select the body content and attachments by checking appropriate boxes. To view the resulting email format, see the email preview on the right.
To further customize the email notification, click the Edit button and input custom text into the email template.
- Once you close the Scheduling Wizard, the scheduled run should appear in the Results tab. It should be yellow, indicating it's waiting to be executed.