1
Vote

Negative assert

description

When using the Validate command it seems that I cannot do a "Not" Assert. Maybe there is a way that I am not aware of?
For example I want to validate that a table cell does not contain the value "56,23". The correct value should is "56" but if I validate like below it will pass even though the cell contains the value 56,23 (which is wrong in my case). So one solution would be if there was a command like "NotValidate" or similar.
 
Command CommandArgs FindMethod FindArgs
Validate "56",Text ById w33571561608593750_table.1.0_d.1.1_1

file attachments

comments

Borundin wrote Sep 16, 2008 at 12:17 PM

When thinking a little bit more I guess "ValidateNot" would be a better name for such a command.

Borundin wrote Sep 16, 2008 at 1:50 PM

I made a quick and dirty patch to add the ValidateNot command.
There is a ZIP with the three changed files attached to this comment in case anyone wants to have a look.

wrote Sep 16, 2008 at 1:50 PM

wrote Feb 13, 2013 at 2:14 AM