New to Telerik Test Studio? Download free 30-day trial

Remote Scheduled Execution (Single Machine Setup)

With Test Studio you can schedule test lists on a single machine, but using the Test Studio services and simulating remote test list execution. The Scheduling service setup allows you to keep the generated results in a storage database.

The below article describes the necessary steps to enable remote scheduling for a Standalone Test Studio installation on a single machine. You can watch a video tutorial for the same.

Installing Test Studio for Remote Scheduled Execution

Install Test Studio product and ensure to include the Test Studio Scheduling Service and Storage Service components in the Customize Installation dialog.

Note

The Test Studio services can be also added by changing the already installed product.

Installation Dialog

Note

The Storage service uses MongoDB as a storage database. The Test Studio installation wizard automatically detects, if there is an existing installation of the third party tool and if not, it will be additionally installed.

Configure the Test Studio Services

Open Test Studio and under the Project tab in the Scheduling section, click Configure button in order to access the Test Studio Scheduling Config wizard.

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. Hit the Apply button and confirm the MongoDB is started status appears in the lower left corner of the wizard.

MongoDB

Note

The Scheduling config wizard uses the default MongoDB parameters to connect to it. Thus, you may need to change these, only if the MongoDB installation was modified.

Storage Tab

The Storage tab displays the Test Studio Storage service details - 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

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. For this particular configuration, these can remain unchanged and 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

Automatic Email for Scheduled Test Lists

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

The Executive Dashboard tab contains information about the Storage service location used to get scheduled results from, and links the URL on which the Dashboard is hosted. The default populated values are pointing to the local machine - localhost. For this particular configuration, these can remain unchanged and you can hit the Apply button. This will start the Executive Dashboard service - you will see a in the lower left corner of the wizard stating 'Telerik Test Studio Executive Dashboard Service is running'.

Executive Dashboard

Configure the Execution Client

Ensure the Test Runner points to the configured Scheduling service on the same local machine. Open the Test Studio Test Runner from the System Tray (it is started with Test Studio, or automatically on startup of the system, if the respective option is set).

Test Runner System tray

Ensure the Scheduling URL is pointing to the local machine - localhost will be resolved to the absolute name of the machine.

Test Runner

Setting Up a Project for Remote Scheduled Runs

Open a project, which contains the test list you wish to schedule for execution, and connect it to the configured Scheduler. Under the Project tab click the Connect option in the Scheduling section of the ribbon.

Connect

In the Scheduling Server Settings dialog, click Run Remotely, input localhost (or use the name of the machine directly), then click Connect.

Run Remotely

Schedule a Test List

Schedule Test List execution in the Test Lists view. You will be able to choose between the connected Execution machines.

View Results of Remote Scheduled Run

View Scheduling Results after the scheduled test list run is finished.

Important

If the machine has active firewall, ensure that the following ports are opened in both in- and outbound directions:

  • Scheduling Service: 8009
  • Storage Service: 8492
  • Execution Machine(s): 55555
In this article
Not finding the help you need? Improve this article