Page 1 of 1

Need help with a RESET button thats on a form page

PostPosted: Mon Jan 11, 2016 1:21 pm
by SAcker
Afternoon.

How does eValid handle hitting the RESET button on a form page.

My team and I are having a lot of trouble with this one...

Thanks

Re: Need help with a RESET button thats on a form page

PostPosted: Tue Jan 12, 2016 9:14 am
by eValid
SAcker wrote:Afternoon.

How does eValid handle hitting the RESET button on a form page.

My team and I are having a lot of trouble with this one...

Thanks


Very good question SAcker.

First, here is a description of how eValid looks into your page:

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

So the first thing is to locate the specific element that has the the reset button on it.

You do this by searching the DOM for the "Reset" phrase.

You have to be careful here because "Reset" is not the same as "RESET"...DOM element contents (values) are case-sensitive.

Given that you've found it then you simply issue follow-link command to that button but you have to be careful to tell eValid to NOT navigate using a NO_NAV tag on the command.

You don't want eValid to set up a wait loop for a navigation that doesn't happen, and doing a reset to a form only requires reloading the form.

Here are the commands to that do the job for you:

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

-- eValid Support