Text check/validation of displayed data

Ask general questions here.
farhanzom
Posts: 12
Joined: Mon Jul 26, 2010 12:58 pm

Text check/validation of displayed data

Post by farhanzom » Thu Jan 06, 2011 12:05 pm

Hi,

I need some help on validating data displays, the scenario I'm trying to automate is to enter a fee against a client name in the client fee screen and then check that fee is displayed in client summary page. The display is read only label. How do I validate that the amount I entered in one screen (say $100) is displayed correctly in the summary page?

Is there something like a text check in Ranorex?

Any help would be great.

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Text check/validation of displayed data

Post by Ciege » Thu Jan 06, 2011 4:04 pm

Have you used RanorexSpy to look at the control that is displaying the data you want to validate? Get that RXPath and put it into your automation code and read the .Text or .Value property (or whatever property is displaying the data) then verify that data in your code.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

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

Re: Text check/validation of displayed data

Post by Support Team » Fri Jan 07, 2011 1:23 pm

farhanzom wrote:Is there something like a text check in Ranorex?
Yes, there is, called validations :) Have you tried to use the validation feature included in Ranorex Recorder? See following section in the Ranorex User Guide for more information:
http://www.ranorex.com/support/user-gui ... ation.html

Regards,
Alex
Ranorex Team