Need some help with validating text on a page

How to use eValid to support regression testing.

Need some help with validating text on a page

Postby MDugan » Mon Jun 06, 2016 2:30 pm

Afternoon.

In the application I'm working on I have to validate an entire paragraph, and I don't see how to do this with eValid?

Can you direct me to the right area of the documentation please

In addition, can eValid validate all of the text on a page?

Thanks
MDugan
 
Posts: 1
Joined: Mon Jun 06, 2016 2:12 pm

Re: Need some help with validating text on a page

Postby eValid » Tue Jun 07, 2016 7:28 am

MDugan wrote:Afternoon.

In the application I'm working on I have to validate an entire paragraph, and I don't see how to do this with eValid?

Can you direct me to the right area of the documentation please

In addition, can eValid validate all of the text on a page?

Thanks


Good question and yes, you can do this with eValid MDugan.

Here is a summary of ALL of the validation modes that eValid has:

http://www.e-valid.com/Products/Documen ... ation.html

The one you want, Validate Selected Text, is easily reached via the Record > Validate > Selected > Text pulldown, directly from the eValid GUI.

So simply highlight the entire paragraph that you want, then do the Validate Selected Text action.

To be honest, you probably will NOT want to do this very often, because:

(1) It makes the script quite long (the entire text is carried in the script), and this becomes difficult to magage.

(2) Such a validation is quite brittle: it will FAIL even if a single character is not identical.

But if this is what you need, no problem.

Just be aware.

A better method is to validate small phrases within the paragraph.

That may result in a few more test script commands, but usually is more reliable (and less brittle) than validating a big text as a whole.

If you need further input on this, please contact us.

-- eValid Support
eValid
 
Posts: 1751
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Regression Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons