Forum Discussion
6 Replies
Sort By
- LucianCommunity Heroif it is the junit html reports you want to customize this is not possible atm.
i'm working on some custom html reports but it will take some time until they will be available - HimanshuTayalCommunity Hero
Hi 678,
Try below code, it will fetch desired data and then you can export these values into excel or text file and can use later on:
def obj = context.testCase.getTestStepByName("Get Quote"); def assertions = obj.getAssertionList() assertions.each { log.info(it.name + ' --> ' + it.status) log.info it.getToken() //it will display data inside assertion }
Click "Accept as Solution" if my answer has helped, and remember to give "kudos" :)
Thanks and Regards,
Himanshu Tayal
- 678Regular Contributor
Thank you for your code but i am looking to get this Assertion values on HTML reports generated by ReadyAPI
- HimanshuTayalCommunity Hero
ohk, i never found any option, related to your query.
In this scenario Lucian can help you as he is working on customized junit reporting.
Click "Accept as Solution" if my answer has helped, and remember to give "kudos" :)
Thanks and Regards,
Himanshu Tayal
Related Content
- 2 years ago
- 4 years ago
- 5 years ago