Forum Discussion

sridevihiranya's avatar
sridevihiranya
Occasional Contributor
6 years ago
Solved

Is there any way to modify testRunner result summary?

Hi,

I want to add build version number to testRunner log summary. Is it possible to modify testRunner summary?
If yes, please let me know where I need to modify.

 

07-Apr-2019 20:10:41 ReadyAPI 2.4.0-m-SNAPSHOT TestCaseRunner Summary
07-Apr-2019 20:10:41 ----------------------------- <Need to print build numer here>
07-Apr-2019 20:10:41 Time Taken: 420369ms
07-Apr-2019 20:10:41 Total TestSuites: 22
07-Apr-2019 20:10:41 Total TestCases: 220 (0 failed)
07-Apr-2019 20:10:41 Total TestSteps: 459
07-Apr-2019 20:10:41 Total Request Assertions: 300
07-Apr-2019 20:10:41 Total Failed Assertions: 0
07-Apr-2019 20:10:41 Total Exported Results: 0

  • Hi, 

     

    It's not possible to modify the TestRunner Summary, but you can use a groovy script to post some information to the log. For example, in the Project TearDown script

4 Replies

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi, 

     

    It's not possible to modify the TestRunner Summary, but you can use a groovy script to post some information to the log. For example, in the Project TearDown script

    • JoostDG's avatar
      JoostDG
      Frequent Contributor

      Hi Nastya_Khovrina,

       

      Too bad it's not possible, because in the use case where we integrate with Slack (https://support.smartbear.com/readyapi/docs/integrations/slack.html?q=slack)  it would have been nice to be able to provide more information, like at least: project Name (project Property) & other (custom Properties) e.g. environment, api-version, ...

      Now you have to download the .zip file, extract, go open the project report.pdf to go look for those property values.

       

      That's a bit the reason why slack integration is a missed opportunity for us.

      • saimie's avatar
        saimie
        New Contributor

        I agree with this. It would be good if this could be a feature request of some sort