Compare 2 text fields on Ranorex

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 5
Joined: Mon Jun 05, 2017 2:10 pm

Compare 2 text fields on Ranorex

Post by moadipp » Wed Aug 16, 2017 1:34 pm


I want to validate that 2 fields have the same text. But I still have a report failure, even when I use the same fields!
Can someone help me?

Here the info:

You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Compare 2 text fields on Ranorex

Post by Support Team » Wed Aug 16, 2017 4:36 pm

Hi Moadipp,

Place a breakpoint in your code and step through it. This will allow you to see what the variables equal at runtime and understand why they are not equal.

I hope this helps!