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.

Once you have a test list, you can schedule it for execution. Click Schedule TestList in the Scheduling ribbon.

Schedule Test List

Select the desired time and recurrence settings for this test run. In version Test Studio R3 2015 we've introduced the ability to schedule test lists Minutely and Hourly.

Step 1

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.

Step2

  • Click Distribute tests among these machines to have Test Studio split up the test list and assign each test to a different machine automatically. Note: If this setting is not selected, each test will run once on each machine you select, which may result in multiple test results for each test in the list.

  • Click Get latest version of tests automatically from TFS to have Test Studio perform a Get Latest operation on the project before each test execution of this test list

Important 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.

Step3

This steps lets you configure the e-mail notification you will receive upon test list completion.

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.

Select Notification Setting

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 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.)

Email Customization

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.

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.

Email Preview

To further customize the email notification, click the Edit button and input custom text into the email template.

Edit 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.

Results tab

To remove a scheduled test execution:

  • In the Results tab, hover over the scheduled test execution. Click the close button that appears.

Close X

  • If the scheduled test run is recurring, select whether to delete all instances or edit the scheduled run to remove specific test runs.

Delete Series