Avoid blank values in excel while validating
in SOAtest
Hi Team,
How to avoid blank values in data sheet while validating or during assertion.
example : Attached an excel.
I need to skip the blank cells in excel while testing.
Note : I cannot edit the datasheet.
0
Comments
Hi Team, any update on the given query.
In your assertor, create a conditional assertion that uses a custom assertion for the "if" and a value assertion for the "then". The value assertion will simply be parameterized against a column in the data source as normal. The custom assertion will define a simple script that will read from the data source column and will only pass if the value is non-empty. Be sure to check the "Use data source" box in the custom assertion. Here is a simple Groovy script that could work for the custom assertion: