TestOptimal Wiki

Model-Based Testing (MBT)

User Tools

Site Tools


seqout_csv

seqout tag allows you to output the system generated test sequence to a csv or tab delimited file.

Comma delimited (csv) format:

 <mbt>
  <script type="OnTransAction">
    <seqout>
       <output>
        [seqNum][comma][event][comma][curStateID][comma][targetStateID]
       </output>
    </seqout>
  </script>
 </mbt>

output:

  0,bLogin,LoginPage,EmployeeSearch
  1,bSearch,EmplooyeeSearch,SearchResults
  2,lnkEmployee,SearchResults,EmployeeDetails
  3,bBack,EmployeeDetails,SearchResults

Tab delimited (tab) format:

 <mbt>
  <script type="OnTransAction">
    <seqout>
       <output>
        [seqNum][tab][event][tab][curStateID][tab][targetStateID]
       </output>
    </seqout>
  </script>
 </mbt>

output:

  0       bLogin       LoginPage         EmployeeSearch
  1       bSearch      EmplooyeeSearch   SearchResults
  2       lnkEmployee  SearchResults     EmployeeDetails
  3       bBack        EmployeeDetails   SearchResults
seqout_csv.txt · Last modified: 2016/09/22 02:36 (external edit)