NehaLadani
3 years agoOccasional Contributor
Regarding rounding function
I would like to add rounding function in my assertions
Example
[Match content of [xyz]] Comparison failed. Path: [$['xyz']]; Expected value: [5.461*]; Actual value: [5.46076854].
Expected value: [5.461*] is in ExcelQATestfile (Excel file cannot be modified)
Actual value: [5.46076854] is API output
So, I am looking for a solution that will make my readyapi assertion force Actal value to rounding and I get Expected = Actual
Please help me..