Page 1 of 1

Validation Recording/Editing Question

PostPosted: Mon Jan 12, 2009 8:42 am
by doug.m
Hi there-

Can we have a call this afternoon with Chris and myself to talk about assertions? I'm a little confused in terms of when in the process you can make these.

For example, are you supposed to record your click-through script first (i.e., begin recording and stop recording), then go back and add assertions?

Or are you supposed to identify all your assertions when you are clicking through? The obvious follow-up question is what happens if you miss an assertion, or decide to add an additional assertion later? Did you just invalidate your entire test?

Re: Validation Recording/Editing Question

PostPosted: Mon Jan 12, 2009 11:37 am
by eValid
There are several levels to this...

(1) The assertion capability -- eValid calls it "validation" -- can arise
from values that you extract during recording, or they can come from
commands that you edit in.

In the script, if you want to you can manually change the thing validated,
e.g. a text fragment, or you can also manually change the index eValid
recorded (that tells the playback where to look for it on the response
page, in the future).

(2) No, you don't have to toss the script at all. If you want to
add assertions you can use one of two routes:

(2A) Insert recording: You single step to the command that takes you
to the page where you want to add a validation, then "Insert Recording"
which will let you position the cursor at where you want the new validation.

Then, do the validation with the pulldown menus, and stop recording.

The new script will have the added validation in the right spot.

(2B) Manual insertion: You can edit in any of the 20+ validation
commands into the script at any point you wish.

Here is the complete description of eValid's Validation modes:

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

(3) To get really fancy, you can edit validations into the script on
things that you can't actually see. That is, they are on the page,
but not even visible (i.e. you can't highlight them).

eValid has a powerful built-in facility that lets you Validate
page properties in terms of the internal page DOM, and the capability
can also be used to set up Validations that apply Adaptive Playback
to prevent Validation failures when pages experience maintenance:

http://www.e-Valid.com/Products/Documen ... bject.html

Hope this helps!

__________________________
eValid Support Team