TestOptimal Wiki

Model-Based Testing (MBT)

User Tools

Site Tools


SeqOut Plugin

SeqOut Plugin generates the test sequence from your model/MScript to an HTML webpage or Excel document.

The format can be customized by editing the format property file seqout.fmt (see SeqOutFormat) and XSL style sheet seqout.xsl. This plugin may require separate license.

MScript Functions


You must activate SeqOut plugin in ModelNode before running the model. There are two output formats available with this plugin: Excel and Web Page. Select the right plugin format and execute the model.

The output will be generated when the model execution is completed. Please be aware that this plugin does not actually connect to AUT.

One issue you may encounter is that the graph generated for each test case may be too wide to fit in the page, which makes it difficult to print. This can be addressed by changing the graph orientation for the model from Left/Right to Top/Down in Model Property.

You may also double click on the graph to force the graph to resize to fit the entire width of the window.

By default, sequence graph is generated to describe each test case. You may change it to generate Message Sequence Chart (MSC) to describe the test case instead by selecting the corresponding format from the dropdown list field Test Path Graph Type.

Custom Output Format

This plugin serves similar purpose as $seqout('text') and <seqout> tags (see also TestCase Report File), which is used to generate test sequence to be used outside TestOptimal either for documentation purpose or offline testing using external test automation systems. However SeqOut plugin was created to quickly and conveniently generate test sequence from the model/mScript in human readable format for manual testing and documentation.

See default test case format.

You may create as many custom formats as you need by creating a set of format property file and XSL style sheet file for each custom format and add them to the list of plugins (see instruction below).

TestOptimal generates the test sequence using the formats defined in format file and saves the output in xml format in report folder. It then calls seqout.xsl (or your custom xsl) transform xml data into the desired format.


After the custom format files are created, place them in /MbtSvr/config folder and define them to the system by adding the following row to the Plugins field in Help/Config page:


where SeqOutWeb is the plugin id you assign to the format, it is displayed in Plugin field in ModelNode. Note it must starts with SeqOut.

seqout.fmt is the name of the format property file. This file contains formatting rules used by the plugin to generate output for each mScript method.

seqout.html is the name of the output file to store the generated sequences. This argument is optional. If not supplied, the default value of seqout.html is used.

seqout.xsl is the name of XSL style sheet file. This argument is optional. If not supplied, the default value of seqout.xsl is used.


Do not make changes to the original seqout.fmt or seqout.xsl to avoid your changes being overridden by the software updates. If you need to customize these files, do so on the copy and change the plugin configuration to use the new file.

Output to Excel

The test case is output to Excel workbook document with the following sheets:

  1. Model - contains model attributes and model execution parmaters
  2. Requirements - contains list of all requirements covered by the model
  3. TestCases - contains test cases generated and their steps with associated requirement tags
seqoutplugin.txt · Last modified: 2017/10/29 17:39 by admin