Field Validation/Range Checking

Applying eValid to AJAX applications that require advanced DOM-based methods.

Field Validation/Range Checking

Postby cea306 » Tue Jan 06, 2009 10:42 am

Hi,

Thank you very much for your evaluation licence
to test the eValid product as well as your follow up email. Our Software
Verification/Validation team is primarily interested in evaluating eValid
to see how easily it can be configured to assis
t our team with functional testing of our product.

We will in the future look to see how eValid can be used further, but
our first interest is primarily field validation/range checking. Our product
has a large number of web based provisioning pages. These provisioning
pages usually have a number of input fields where the customer can enter
their data. When the customer enters their data, there is
validation performed by the web page. This is done using javascript
validation/range checking e.g. a phone number would be checked to ensure
that no alphabetic characters are entered etc.

If the user entered valid data, then a new Confirmation web page
is displayed so that the user can confirm that they would like to
proceed with submitting the details into the database.

If the user had entered invalid data
(e.g. ABCDEF for a phone number), then a Javascript generated Modal
Dialog box is displayed stating which field is invalid and what the
field's valid range of data is. This Modal dialog box contains an OK
button so that it can be clicked away and the user can try again.

We would like to see how eValid automatically:

* Authenticates with the provisioning server (this is a web page i
that requests a username and password and has a submit button).

* Attempts to navigate to a particular web page

* Perform checks to see that the correct web page title
is being displayed before proceeding with testing each
field. If we have not been able to navigate
to a particular web page, then we give up with a fatal error.

* If we have been able to navigate to the correct web page,
proceed to enter valid & invalid data (this data can be
hard coded in the eValid script). We would only
test invalid data in one field at a time to ensure that
the page validation is picking up that particular field
as being i ncorrect e.g. enter ABCDEFG for a phone number
and all other fields containing valid data.

* Confirm that an Error message is generated in
a Javascript created Modal dialog box when invalid data is entered.

* If an unexpected Modal dialog box appears for valid data,
it should be recorded in the eValid completion report
but not hold up the testing of other fields.

* If the Confirmation web page is disp layed when we
have entered invalid data it should be recorded in
the eValid completion report but not hold up the
testing of other fields.

I hope this gives you a better understanding of what I am aiming to achieve
with eValid.
cea306
 
Posts: 1
Joined: Tue Jan 06, 2009 10:35 am

Re: Field Validation/Range Checking

Postby Ajax » Tue Jan 06, 2009 10:43 am

Here are some eValid areas that may be useful for you to know about:

* Here is an example of AJAX usage that shows how several kinds of
eValid commands are used to completely test an AJAX-type
autocompleter function:

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

* For websites where pages are delivered asynchronously, it may be
necessary to use one of the two special synchronization commands
descrbed below to assure reliable playback.

(1) Synchronization based on text in the page (sync is 100% internal):
http://www.e-Valid.com/Products/Documen ... SyncOnText

(2) Synchronization based on a particular image content in the page
(requires desktop):
http://www.e-Valid.com/Products/Documen ... xySyncRect

* eValid, during playback, has ERROR, WARNING, ALARM and TIMEOUT flags that
can be used to adjust the flow of control as described here:

http://www.e-Valid.com/Products/Documen ... rting.html
http://www.e-Valid.com/Products/Documen ... .html#flag

* Here is a summary of eValid methods and support that are based on
detailed analysis of the DOM of the current page:

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

* If you wish to -- and for AJAX like applications this capability may
be NECESSARY to maintain playback synchronizations -- you can validate
and synchronize on ANY element [or element property value] in the page,
using:

http://www.e-Valid.com/Products/Documen ... n.dom.html
eValid Tech Support Team
Ajax
 
Posts: 29
Joined: Tue Jan 01, 2008 12:48 pm


Return to AJAX Applications & DOM Processing

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