setTestComment
TPT.setTestComment(string comment)
This function sets the global comment that will be assigned to the test case. This comment will be shown in the overview report as well as in the details reports for individual test cases.
Parameters:
comment Global comment that will be assigned to current test case.
Examples:
# Test had a particular shift time problem TPT.setTestResult(TPT.FAILED); TPT.setTestComment("shift time too long"); # Include the content of TPT's Documentation Window TPT.setTestComment(r"""${tpt.scenario.inheritedcomment}""")