From Squash TM 1.13.0

Configure Squash TM properties

    1. Open the squash.tm.cfg.properties file located in the conf folder of Squash TM installation folder (ex : C:\Squash-TM\conf).

    2. Find the line with tm.test.automation.server.callbackurl and uncomment it

    3. Add the url of squash TM (ex: http://192.168.2.138:8080/squash. This url will be used by Squash TA Server to notify Squash TM of the execution progress.

  1. Restart Squash TM.

Add a Squash TA server to Squash TM

Create a Test Automation Server User

You only need to create one automated server user, even if you want to add several automated servers.

    1. In Squash TM, click on the link [Administration] (in the upper corner) then click on [Users].

    2. Add a new user with the button [Add New User]. The [Add User] popup shows up :

    1. In the Group ComboBox choose Test Automation Server.

    2. Fill the Login field with the login you have configured in the Squash TA conf.properties file.

    3. Fill the Password field with the password you configured in the Squash TA conf.properties file.

Create a Test Automation Server

    1. In Squash TM, click on the link [Administration] (in the upper corner) then click on Automation servers

    2. Add a new server with the button [Add a server]

    3. The [New test automation server] popup shows up :

    1. Fill the URL field with the Squash TA url (ex : http://192.168.2.138:9080/jenkins).

    2. Fill the Login field with the login of the user in Squash TA dedicated to automation.

    3. Fill the Password field with the password of the user in Squash TA dedicated to automation.

    4. If you use a Master server with slave(s), you can check the Manually choose the server at execution lanching (Implies this server is a master one) checkbox. This option will allow you to choose, each time you run your tests, on which server they run.

    5. If you want to add another server, click [Add another] and repeat steps 4-8, otherwise click [Add].

Login must be unique for each URL.

Configure a Project to use automation

Link an Automated Server to a Project

    1. Click on the link [Administration] (in the upper corner) then click on [Projects].

    2. Select an existing project, scroll down to Test automation management.

    1. Click on No server. You'll see the list of available servers.

    1. Choose the server and [Confirm].

    2. In the Test automation management you should see a new part called Jobs.

Create Squash TM Job linked to the Squash TA job

  1. Click on the link Administration (in the upper corner) then click on Projects.

    1. Select an existing project with an automation server associated, scroll down to Test automation management.

    1. Click on [+]. The New job popup will shows up with all the jobs you have in squash TA.

  1. Select the job(s) you want to add. You can change their label in Squash TM (by default the name are the associated Squash TA job name).

          1. Job's name can't be blank and must be unique.

  1. Click [Confirm].

  2. You can edit your job (pencil button) if you want to further configure it.

  1. In the field Possible execution servers, you can choose which slaves servers can be used for this job. Type their name separated with semicolon (ex: SlaveServ1; SlaveServ2).

The Possible execution servers field is only for SLAVES servers, the master will alway be displayed in the list of possible servers.

Now the project is related to Squash TA server. In this project you can relate automated test script to TM test cases. You can then execute these automated tests from the campaign space and read their execution results.