cancel
Showing results for 
Search instead for 
Did you mean: 

Get assertion values using groovy

Highlighted
New Contributor

Get assertion values using groovy

Hi,
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?
3 REPLIES 3
Highlighted
Community Hero

Re: Get assertion values using groovy

Would you please show what you have done already?


Regards,
Rao.
Highlighted
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
Highlighted
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
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to change request body before sending it to the server for the TechCorner tag!


Scripts created in June:
- A script to generate a request body based on data from Datasource
- A script to go through all response nodes and check the value of the required field
- A Dispatching script to get responses based on the values in Request Body
- A script to add a new tag and assign it to all TestCases in a TestSuite
Top Kudoed Authors