I have had a problem for some time, maybe we can find a solution now.
I enter values on some webpage, save it and then validate if all entered values are set correctly.
This works without any issues, as soon as I leave values empty.
Because then, the validation fails with error message (actual='(null)', expected=''):
I use the Validate.AttributeEqual directly from a recording.Attribute 'Value' of element for item 'txt_TextAttribute' does not match the specified value (actual='(null)', expected='').
In Spy I see the 'Value' as well as the 'TagValue' as empty, TagValue is not even greyed out, so the attribute seems to be there, but the value is not read as empty string, but as "(null)" for some reason.
There are some suggestions across the forum, but these are rather old (Ranorex 2.3.6) or involve adding some stuff to the RXpath, which seems not to be sufficient, because I want to use the exact same repository item for entering and validating of filled as well as empty fields.
Is there any better solution or any switch to get this working without the need to re-code my own Validation method?
thank you, BR mrt