AnsweredAssumed Answered

Is there a way to make assertions optional or obligatory depending on available property value?

Question asked by PF_Giorgi on Feb 27, 2016
Latest reply on Mar 2, 2016 by Vincent.Mazot

Assuming I have a table (.csv or .xls) as data set, when calling Web Service:

Name
AgeReputation
Bob20Bad
Alice22
ChrisSuspicious

 

I want to assert that present fields and ignore empty ones.

For example I want to assert Response of Name Alice for Age, but ignore assertion for {{Reputation}}, since it is empty and other way around for Chris.

 

Is there any way to get this construction in preferably LISA 7.5.2 or later DevTests?

Outcomes