Page 1 of 1

How to perform the test assertion on the page ?

Posted: Wed Jan 16, 2013 3:47 am
by moid125
I am bit new to Ranorex and C# (using it after a long time), wondering how to perform a text assertion on the page.

Example: like in selenium we do assertEquals( actual, expected). There must be similar way in Ranorex.

Thanks in advance.

Re: How to perform the test assertion on the page ?

Posted: Wed Jan 16, 2013 3:57 pm
by Support Team
Hello,

You could add a 'Validate.AttributeEqual' action in your recording that validates values on your page.
Please take a look at our code examples in our User Guide.

Regards,
Markus (T)