Before Squash TM 1.10.0

The activation of the link TM/TA on a project is customizable from the Test Automation management unit following this procedure:

This function uses different tools of the Squash suite. For Squash TA and Squash TA Server, please consult the web documentation here.

The procedure is also detailed here.

Prerequisites

  • Squash TM and Squash TA Server must be installed

  • There must be at least one project in Squash TM

  • Squash TM must be stopped

In Squash TM

1. Reach the file “Services” in the Squash TM installation repertory (ex: C:\Squash-TM_1.4.0\conf\services).

2. Open the file tm.testautomation.conf.properties.

3. Fill the fields in as detailed below: tm.test.automation.server.callbackurl= indicate the url of your Squash TM (ex: http://192.168.2.24:8080/squash/). This url will be used by Squash TA Server to notify to Squash TM the test progress.

4. Start Squash TM. Reach the project administration page.

5. Click on the name of the project you want to relate to Squash TA server. The project details workspace page opens up.

6. In the unit Test Automation management, fill the fields in:

  • Enable test automation: click in the checkbox.

  • TA server Url: indicate the url of you Squash TA server

  • Login: indicate the JIM login (see step 8).

  • Password: indicate the JIM password (see step 8).

7. In Squash TM, create a user "bob" which clearance group is "test automation server". Assign to it a couple login/password. This user will be used by Squash TA to connect to Squash TM.

In Squash TA Server

1. In Squash TA Server, create a user "JIM", with the accreditation of reading and execution of test automation projects. Assign to it a couple login/password. "JIM" will be used by Squash TM to connect to Squash TA server.

2. In the file 'conf.properties', in the folder 'execution_home' of your Squash TA Server installation repertory, fill the following information in:

    • (Squash TM url).login = "bob login" (ex : http\://192.168.2.24\:8080/squash.login = taserver )

    • (Squash TM url).password = "bob password" (ex : http\://192.168.2.24\:8080/squash.password = tapass)

Beware: The backslashs are mandatory in front of ":".

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.