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 describe 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.
1. Install Test Studio product and ensure to include the Telerik Scheduling Service and Telerik Storage Service components in the Customize Installation dialog. The Test Studio services can be also added by changing the already installed product.
Note! The Storage service uses MongoDB as a storage database and the Test Studio installation wizard automatically detects if the third party tool is already installed. If not it will also be installed.
Note! The Test Studio services are not selected in a default Test Studio Standalone installation and are installed by default when installing the Run-time Test Studio edition.
Start Test Studio and under the Project tab in the Scheduling section, click Configure button.
Optionally, the Configure Scheduling wizard can be accessed through the Windows Start menu by typing Configure Test Studio Services.
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.
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.
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'.
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.
In the Executive Dashboard tab verify which is the address to access the results from the scheduled runs.
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).
Ensure the Scheduling URL is pointing to the local machine - localhost will be resolved to the absolute name of the machine.
1. Open the project which contains the test list you wish to schedule for execution.
2. Under the Project tab click the Connect option in the Scheduling section of the ribbon.
3. In the Scheduling Server Settings dialog, click Run Remotely, input localhost (or use the name of the machine directly), then click Connect.
Schedule Test List execution in the Test Lists view. You will be able to choose between the connected Execution machines.
View Scheduling Results after the scheduled test list run is finished.
Important: If the machines in your configuration have active firewalls, ensure that the following ports are opened in both in- and outbound directions on the respective machines:
- Scheduling Service: 8009
- Storage Service: 8492
- Execution Machine(s): 55555