How to perform the test assertion on the page ?

Ask general questions here.
moid125
Posts: 5
Joined: Tue Jan 15, 2013 1:33 am

How to perform the test assertion on the page ?

Post by moid125 » Wed Jan 16, 2013 3:47 am

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.

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

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

Post by Support Team » Wed Jan 16, 2013 3:57 pm

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)