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:

  1. In the Project Explorer, right-click the .cfg file you want to use and select Open With > STIF Script Editor.
  2. 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.

    Example of the mode selection

  3. 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

Related references