Page 1 of 1

Confirming that input fields have been modified

PostPosted: Mon Mar 06, 2017 4:32 pm
by ARoarke
Hi.

Is there a way for me to verify that an input field I've just modified has truly been modified?

Thanks

Re: Confirming that input fields have been modified

PostPosted: Tue Mar 07, 2017 1:11 pm
by eValid
ARoarke wrote:Hi.

Is there a way for me to verify that an input field I've just modified has truly been modified?

Thanks


Yes there is ARoarke, thanks for asking.

You can use the commands: ValueGetElement wid name "frame-path" to get the value of something BEFORE you do an element click to send the new input data data on its way into the DOM.

Here is the manual page on this and relatec commands:

http://e-valid.com/Products/Documentati ... ation.html

And you can use the same command to grab the content after your script has run the command to put something INTO the DOM.

But you should be aware that these two actions, while very fast, are never quite instantaneous.

So a safe procedure is to include a very slight delay between setting and confirming, possibly using a command like:

Delay 10

This will delay by 10 msec, probably enough time for the browser to catch up in case it hasn't already.

-- eValid Support