Page 1 of 1

Validation gives does not match, while it does match

Posted: Fri Aug 11, 2017 3:13 pm
by LarsvdBroek
I have been working with Ranorex for 4 weeks. I really like it, but I've got a strange thing I don't know how to solve.
I'm using a Validation to check if the InnerText of a price and area calculation is what is should be. This is a combination of some text and some numbers. The validation gives me this as a result:
Attribute 'InnerText' of element for item
'WebshopTestRepository.ISIPublishingInnovators.Ctl00PageContentPlaceHolderLblDisclaim' does not match the specified value (actual='Alle bovenstaande prijzen zijn exclusief BTW. (Incl. BTW € 99,43)', expected='Alle bovenstaande prijzen zijn exclusief BTW. (Incl. BTW € 99,43)').'
I fail to see the difference.
This is not the only validation that goes wrong. I have 13 comparable validations of which 3 give a correct success, 1 gives a correct failure and 9 give an incorrect failure.

Why is this happening?

Re: Validation gives does not match, while it does match

Posted: Fri Aug 11, 2017 6:39 pm
by Support Team
Hello,

It is possible there are escaped characters that do not show in the report. If you provide the report files (both *.rxlog & *rxlog.data files), I will be able to analyze the data and better understand what is occurring.

Cheers,
Ned