Page 1 of 1

Actual and expect value match but fail

Posted: Thu Feb 13, 2020 10:06 am
by Rose@@
Hi,
I am using window 10, ranorex version 8.3.1
When I validate value of a textbox, although actual and expect value does match but fail
Can you help me?

Re: Actual and expect value match but fail

Posted: Thu Feb 13, 2020 10:23 am
by odklizec
Hi,

At first, Ranorex 8.3.1 is pretty old and no longer supported. Please try to reproduce the problem with most recent 9.2.1. If the problem still appears in 9.2.1, then there is most probably a problem with some non-printable characters in the reference/compare string.

Could you please share a Ranorex snapshot (NOT screenshot) of the element you want to validate? Also, if you read the reference value from excel or csv file, please share it as well. My guess is, that there is a problem with "space" character between date and time.

Re: Actual and expect value match but fail

Posted: Thu Feb 13, 2020 10:59 am
by umpani
Hi,
it seems that you are validating that values have to be different each other and because values are same then it fails.

Re: Actual and expect value match but fail

Posted: Thu Feb 13, 2020 11:46 am
by odklizec
Ha! Umpani is most probably right! There is != in 'expected' value ;)