Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHello,
I think the easiers way to make sure that all the values are equal to something is to instead make sure that none of the values are different from it:
Ensure that no birthDate exists which has a value different from 1900-01-01 (So this means that they all must be equal to it) :
Another way of doing this is counting the number of birthDates that are the correct value, and make sure it is equal to the total number of birthDates.
Regards,
Dain
eviware.com
I think the easiers way to make sure that all the values are equal to something is to instead make sure that none of the values are different from it:
Ensure that no birthDate exists which has a value different from 1900-01-01 (So this means that they all must be equal to it) :
not(exists(//ns1:birthDate[text()!='1900-01-01']))
true
Another way of doing this is counting the number of birthDates that are the correct value, and make sure it is equal to the total number of birthDates.
Regards,
Dain
eviware.com