cancel
Showing results for 
Search instead for 
Did you mean: 

Assertion reuse in another test step

SOLVED
Highlighted
Super Contributor

Assertion reuse in another test step

I have assertion for one test step

Is there any way to reuse this in another test step?

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super Contributor

Re: Assertion reuse in another test step

I right clicked on a TC and cloned assertion

it partially worked why partially because it creates duplicate assertions1

I have attached the screenshots.

cloneassetertions.PNG

 

 

See Duplicates!

its still fine though I can delete the duplicates!

I will contact support about this

cloneasserttwicegrr.PNG

View solution in original post

Highlighted
Community Hero

Re: Assertion reuse in another test step

I use the three options at the bottom of your screenshot to delete existing assertions and to overwrite as necessary. There are two check boxes "Overwrite Existing assertions" and "Remove all existing assertions" are very useful once you understand how they work.




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

2 REPLIES 2
Highlighted
Super Contributor

Re: Assertion reuse in another test step

I right clicked on a TC and cloned assertion

it partially worked why partially because it creates duplicate assertions1

I have attached the screenshots.

cloneassetertions.PNG

 

 

See Duplicates!

its still fine though I can delete the duplicates!

I will contact support about this

cloneasserttwicegrr.PNG

View solution in original post

Highlighted
Community Hero

Re: Assertion reuse in another test step

I use the three options at the bottom of your screenshot to delete existing assertions and to overwrite as necessary. There are two check boxes "Overwrite Existing assertions" and "Remove all existing assertions" are very useful once you understand how they work.




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Filtering data retrieved from a DataSource

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors