[TestOptimal] Tag seqout

TestOptimal   Wiki Home   Support  

New in Release 3.0, "seqout" tag was introduced to output the generated test sequences to a file using the syntax of any programming language. Use this tag to generate the testing scripts and codes to be executed offline or to be fed into other test automation framework and tool.

Below are a few examples of different output formats:

  1. csv and tab delimited file format
  2. free form format
  3. java code syntax

The output is written to file "seq.out" in the model folder but it can also be viewed at "SeqOut" tab on the bottom panel.

The tag syntax is as follows:

  <seqout>
    <output>
      freetext, mScript method or expression
      ...
    </output>
  </seqout>

The content is placed inside <output> tag and it can be expressed with either freetext, mScript method calls or mScript expression of text and method calls.

"seqout" tag can be placed inside <script> tag and other container tags like <if> tag if necessary to control when the output is desired.

You may also uses these tokens to help format your output.

As an alternative, you may use mScript method $seqout() method to achieve the same effect.

The output from <seqout> tag is written to the file seq.out in the model's folder as the test sequence is being generated and executed.


Page locked (last edited August 12, 2010) [info] [diff])
FindPage by browsing or searching
5 best incoming links: mScriptTags (11), seqout csv (11), seqout free form (11), seqout java (11), Sequence Output (8)
5 best outgoing links: mScript Tokens (11), seqout csv (11), seqout free form (11), seqout java (11)
5 most popular nearby: RecentChanges (859), How-To & Frequently Asked Questions (FAQs) (710), mScriptTags (525), Console (182), BottomPane (161)