Validation gives does not match, while it does match

Ask general questions here.
LarsvdBroek
Posts: 1
Joined: Tue Jul 18, 2017 2:02 pm

Validation gives does not match, while it does match

Post by LarsvdBroek » Fri Aug 11, 2017 3:13 pm

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

Post by Support Team » Fri Aug 11, 2017 6:39 pm

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
.
Image