Forum Discussion
nmrao
Champion Level 3
Now sure how you are comparing or what type of assertion. If you consider to use Script Assertion, then check this thread:
http://mrhaki.blogspot.in/2010/01/groovy-goodness-round-and-truncate.html
http://mrhaki.blogspot.in/2010/01/groovy-goodness-round-and-truncate.html
Bishal
8 years agoContributor
I am using Xpath Assertion in the second call to compare the data with the first call.
Xpath Expression:
- Response from node m of the second call
- Expected value
- This is value from the node p from the first call. They are exact value till nth number after decimal . ( so i need to compare it only to that value ). This is done with Get Data method. I want to see , if i can do the check till nth decimal here itself?
Attached is the assertion error
- nmrao8 years agoChampion Level 3Well, like I mentioned earlier, use Script Assertion with help of given link.
Related Content
- 3 months agoarmygrad