Forum Discussion
nmrao ,
as far as I know there is no function to send a report automatically in ReadyAPI.
In ReadyAPI there are nice options of reporting, however I am not aware of any way to execute a follow-up action. In the end the report files are placed in the output directory.
On TestCase and TestSuite level there are Report script holders, but the purpose of the script is to extend the scripting options (i.e. is executed before the reports are finished, not after). on project level there is nothing.
A good place to execute specific actions are the events. But here there is no "TestRunListener.afterReport" event. The closest available is TestRunListener.afterRun, but at that time report isn't created yet. But you can take the TestRunner's result data, process them and send them via Groovy.
So, the follow-up action to take the standard report, put it somewehre and send a notification has to be done externally, e.g. from the CI/CD pipeline.
This might be a good point for a reature request.
Best regards,
Karel
Related Content
- 4 years ago
- 4 years ago
- 3 years ago
Recent Discussions
- 6 days ago
- 10 days ago