T-Plan Robot Enterprise v2.3.1
introduced a new mechanism allowing to process comments present in
main script body and export them to a file and/or display them in
test result XML. The idea behind this tool is to create test cases
the script code provided that the comments follow certain rules and
Only comments from the main
script body are collected. Comments inside structured
blocks such as procedures or 'for' or 'if/else' and comments
other files linked through Run
or Include will
Each comment consisting of a number
subsequent lines will be concatenated into one string and
handled as a single comment.
Comments located before the very
script command are considered to form the test case description.
Comments located after the first
command will be considered as test
steps and they will be automatically numbered.
Export of comments to the test
XML is disabled by default to preserve compatibility with
previous product versions. To enable it go to the Edit->Preferences
window and set on the "Record comments and
create a comment summary" check box in the Enterprise Report
Provider panel. Any test results generated after this
will display comments both in the Result
Manager window as well in the XML result file (report)
a web browser. Example screen shots follow.