alibaba82
18 years agoSuper Contributor
conditional assertion ?
Hello,
is it possible to have something like a conditional assertion in soapUI. for instance I have function called DeleteGrid() which return a 'Success' if the grid was deleted and a 'Failure' if it was not deleted. I also have a function CreateGrid which has a field 'mandatory'. DeleteGrid behavior is tied to mandatory = true/false.
In my datadriven test I first call creategrid with mandatory = true and then with false. So in my assertion for deleteGrid, I would want some thing like
'Success' only if mandatory = true in createGrid
Is this possible to do ?
hopefully that made sense.
Thanks
Ali
is it possible to have something like a conditional assertion in soapUI. for instance I have function called DeleteGrid() which return a 'Success' if the grid was deleted and a 'Failure' if it was not deleted. I also have a function CreateGrid which has a field 'mandatory'. DeleteGrid behavior is tied to mandatory = true/false.
In my datadriven test I first call creategrid with mandatory = true and then with false. So in my assertion for deleteGrid, I would want some thing like
'Success' only if mandatory = true in createGrid
Is this possible to do ?
hopefully that made sense.
Thanks
Ali