Configure a Machine to Act as a Scheduling Server

The Scheduling server in the Test Studio Scheduling setup is the centralized component in the setup, which controls the communication between all machines in the setup. It keeps track of what test lists from a project to run, sends this data to the execution servers and collects the generated results from the test list runs.

Minimum Requirements for the Machine Hosting the Scheduling Service

Before proceeding, there are a few things to confirm regarding the computer you will be using as the Scheduling Server:

  • The software must be run from a Windows Administrator account.
  • User Account Control must be turned off completely (set to Never notify).
  • The Scheduling Server requires a Test Studio Run-time installation or higher.

If you do not meet the above requirements, the software will not launch or will quit immediately.

Install the Test Studio Scheduling Service

To configure a machine as a Scheduling server, you need to install minimum the Test Studio Run-time edition on this computer. Ensure to include the Scheduling Service component in the Customize Installation dialog in the installation wizard.

Installation Dialog

Note: Configuring a Scheduling Server for remote execution requires the Test Studio Storage service to be installed on any machine in the Scheduling environment, which is accessible from the Scheduling Server. These can be hosted also on the same machine.

Configure the Test Studio Scheduling Service

Start Test Studio and under the Project tab in the Scheduling section, click Configure button.

Configure

Optionally, the Configure Scheduling wizard can be accessed through the Windows Start menu by typing Configure Test Studio Services.

Configure scheduling setup wizard

MongoDB Tab

In the dialog which appears, the first MongoDB tab contains the settings required for the Mongo database. The MongoDB data path and mongod.exe path fields are populated with the values for a default MongoDB installation, so you need to change these, only if the MongoDB installation was modified. Hit the Apply button and confirm the MongoDB is started status appears in the lower left corner of the wizard.

MongoDB

Note: The MongoDB tab will be grayed out (inactive) if you do not have MongoDB installed on the machine! This will get enabled when the correct MongoDB connection string is set in the Storage tab.

Storage Tab

The Storage tab displays the Test Studio Storage service details and location - you can verify the MongoDB connection string, which is the default way to connect to the Mongo database. Hit the Apply button and check the Telerik Storage Service is started status appears in the lower left corner of the wizard.

Storage

Note: If the Test Studio Storage Service and MongoDB are installed on any of the other machines in the Scheduling setup, the MongoDB connection string need to be modified to point to the particular machine.

'localhost' is used when the same machine hosts both the Scheduling and Storage services and MongoDB. If MongoDB is installed on another machine you need to specify that remote machine name.

Storage

Scheduling Tab

The Scheduling tab contains information about the location of the Test Studio Storage and Scheduling services. The default populated values are pointing to the local machine - 'localhost'. If the Test Studio services are hosted on different machine, here you can enter the respective machine names or IPs. Once ready, you can hit the Apply button. That will start the scheduling service and show you details about the storage service's status and database version in the Storage Service Location section. You will also see a message in the lower left corner of the wizard stating 'Telerik Scheduling Service is running'.

Scheduling

Optionally, you can configure the Test Studio Scheduling service to use an Email (SMTP) server by specifying few additional details. These settings allow you to send an automatic email with the results of a scheduled test list. Depending on the SMTP server configuration, mandatory fields are the 'SMTP server address' and the 'Port' to communicate with it and the 'User Email' and 'Password' are not explicitly required. Once these fields are populated, hit the Apply button to reflect the changes to the Scheduling service and check if the 'Telerik Scheduling Service is running' appears in the lower left corner of the wizard.

Scheduling SMTP

Executive Dashboard Tab

In the Executive Dashboard tab verify which is the address to access the results from the scheduled runs.

Close the dialog window and your scheduling setup is finished.

In this article
Not finding the help you need? Improve this article