A new documentation is available for Squash TM 2.0 and later versions, check it here
When creating a step, it is possible to use one or several parameters in the 'Actions' and 'Expected results' fields.
Ever since the release of Squash TM 1.17, it is also possible to use parameters in the 'Prerequisite' field.
Prerequisite: A test case has already been created.
Enter one or several parameters in the 'Actions' field and/or in the 'Expected results' field as follows: ${Name_of_parameter}
3. New parameter(s) display(s) automatically when you click on Parameters tab
4. It is possible to do the same in the 'Prerequisite' field:
Beware
The parameter's name must only contain the following characters:
[0-9], [a-z], [A-Z] and [-,_]
Prerequisite: A test case has already been created.
Reach the Test Cases Workspace.
Select a test case. This one will be highlighted.
Click on [Parameters] in the test case consultation page.
Click on [+] in the Datasets unit. A pop-up window « Add Dataset » in which you can fill in different fields (if parameters have been previously created) shows up. The field "Name" is the only mandatory field.
Click on [Add].
The new dataset is displayed in Datasets:
Note:
When you import in the campaign a test case with several datasets, you'll obtain in the test plan as many lines as datasets.
Tip: You also have the option of adding a parameter before writing the script.
Prerequisite: A test case has already been created.
Reach the Test Cases Workspace.
Select a test case. This one will be highlighted.
Click on [Parameters] in the test case consultation page.
Click on [+] in Parameters unit. A pop-up window « Add a parameter » in which you can fill in different fields shows up. The field "Name" is the only mandatory field.
Click on [Add].
The new parameter is displayed in the Parameters unit and the Datasets unit, as a new column of the table:
Prerequisite: a test case must call another test case using at least one dataset.
1) In the test step list, on the call test case line, click on choose a dataset.
2) A “choose a dataset” pop-up window opens up, select one of two options by ticking a box: “choose a dataset” or “not choose a dataset”.
3) If you choose to “not choose a dataset among those of the call test case”, the calling test case will inherit all the call test’s parameters.
4) I you choose to “choose a dataset among those of the call test case”, then select one of the datasets from the pulldown menu.
5) Click on [confirm].
6) Your choices are taken to account.
Note: In the calling test case info tab, in the <Name> column of the “Parameter” box, the parameters inherited from the call test case are in gray.