Creating scripts for Test Scripter and Test Combiner
Before you start
In STIF, you can create scripts that consist of a series of keywords and arguments, describing the operation of the test case. The Script Editor is an easy way to manipulate script files and offers syntax highlighting, code assistant, syntax checker and so on.
Scripts enable you to create advanced combinations of test cases, which can be suited for your development needs. For more background information, see Test scripts.
To create the scripts, do as follows:
- In the Project Explorer, right-click the .cfg file you want to use and select Open With > STIF Script Editor.
- In the mode selection dialog, select either Test Scripter or Test Combiner.
The STIF Script Editor will start in the selected mode but the mode can also be changed later from the radio buttons of the dialog, as shown in the example below.

- To start creating the script text, enter the keywords and arguments that describe the test case's operation.
For more information on the keywords, see the reference topics Test Scripter keywords and Test Combiner keywords.
Note: In both modes, the title
keyword must be the first one.
For more tips on how to create and edit the script, see the section below.
Tips for working with the STIF Script Editor
- You can expand and collapse the lines by clicking the plus and minus signs next to the given test case.
- To get code assistance on the keywords, press CTRL + Space. The suggested words depend on the context.
- The editor provides validation for the syntax. If an error is found, a line containing it is marked and a comment is added to it in the Problems tab.
See the examples below:

- In addition, the Outline tab lists the test cases that the current file contains. Click a test case on the outline to move to the corresponding location in the script. See the example:

Related references