Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
testcase_report_file [2020/05/10 03:33] admin removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Test Output File ===== | ||
- | |||
- | Model property //Test Output File// sets the name of the output file to write out < | ||
- | |||
- | This is an alternative to using [[SeqOutPlugin|SeqOut Plugin]] to generate test case report. You can dynamically disable and enable this feature within mScript with $disableCommentToSeqOut() and $enableCommentToSeqOut(). | ||
- | |||
- | Customization is not valid when used with [[SeqOutPlugin |SeqOut Plugin]]. | ||
- | |||
- | Customization is done by editing the following template file in folder // | ||
- | * CommentOutput.html - html output | ||
- | * CommentOutput.txt - text file output | ||
- | |||
- | ---- | ||
- | ==== Customize Html Output Format ==== | ||
- | The default output format is: | ||
- | |||
- | < | ||
- | < | ||
- | <ul style=" | ||
- | >> | ||
- | < | ||
- | << | ||
- | </ul> | ||
- | </ | ||
- | </ | ||
- | |||
- | You can edit the above html code as long as you preserve all of the keywords: | ||
- | * >> | ||
- | * << | ||
- | * @CONTENT_ROW@ - will be replaced with actual content from each row produced by MScript comment tags. | ||
- | |||
- | |||
- | ---- | ||
- | ==== Customize Text Output Format ==== | ||
- | The default output format is: | ||
- | |||
- | Test Execution Comment Output by Model MScript Comments | ||
- | >> | ||
- | ================== END ==================== | ||
- | |||
- | The keywords are the same as html output file format. | ||
- | |||
- | ---- | ||
- | ==== Output File ==== | ||
- | The output file is written to //report// folder in the model folder. | ||
- | |||
- | |||
- | ---- | ||
- | ==== Caution ==== | ||
- | The customized template files will be overridden when you install upgrades. | ||
- | |||