Report scripts are executed when you generate a report and after the run of an entity. Report script editors exist on the test case and test suite levels.
|Tip:||To learn about reporting in ReadyAPI, see Configuring Report Templates.|
Below is a list of the default objects that are available in the report script editors:
Includes methods and properties for posting messages to the Script log (to view this log, click Logs in the bottom left corner of the ReadyAPI window and switch to the Script log tab).
You use this for debugging and logging purposes: to post and view data in the log.
||Holds all the data used to populate the report. Its members allow you to add or adjust data and subreport data that the report engine uses to fill the report template.|
||Contains all defined report parameters and their values.|
||Provides a scripting interface to the test suite run.
Note: This object is only available in test suite-level report scripts.
||Provides a scripting interface to the test case run.
Note: This object is only available in test case-level report scripts.
You can see methods and properties of these objects on the Code Completion list. To invoke it, type the object name and press Ctrl+Space.