Showing results for 
Search instead for 
Did you mean: 

Get assertion values using groovy

New Contributor

Get assertion values using groovy

I am doing custom report. If assertion failed I am getting proper error messages. I am producing what are the assertion that we are using for even passed case.... Assertion has ID, LABEL and Description. I wanted to print in my report what is actual and expected as well in report along with assertion name and status How to do that?
Community Hero

Re: Get assertion values using groovy

Would you please show what you have done already?

Community Leader

Re: Get assertion values using groovy

@Namee92 :


What kind of report you are generating and also please let me know at which level you are invoking your reporting.



Click "Accept as Solution" if my answer has helped, and remember to give "kudos" 🙂 ↓↓↓↓↓

Thanks and Regards,
Himanshu Tayal
Community Manager

Re: Get assertion values using groovy

@Namee92 Could you provide the Community with a bit information like Rao and Himanshu are requesting? Thank you!

Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors