Page 1 of 1

Provide the eValid DOM manipulation highlights please

PostPosted: Tue Nov 14, 2017 1:43 pm
by IreneS
Afternoon.

Can you summarize the DOM manipulation capabilities in eValid?

Thanks

Re: Provide the eValid DOM manipulation highlights please

PostPosted: Wed Nov 15, 2017 10:19 am
by eValid
IreneS wrote:Afternoon.

Can you summarize the DOM manipulation capabilities in eValid?

Thanks


Happy to help IreneS.

Here is a page that describes the way eValid views the DOM within any web page that is in the browser:

http://www.evalid.us/Products/Documenta ... tives.html

Note that all of the possible actions are based on the current values of two internal variables known to eValid that you can read and set:

(1) SourceIndex -- which points to one of the zero-origin indexed DOM elements.

The value of sourceIndex can be assigned from a script or it will contain the result of an IndexFind [Ex] command.

(2) ElementValue -- which is the string that corresponds to the value in a particular DOM element associated with a particular DOM element property name.

Given these two definitions, then you can see how all of the commands work to either create, update, or modify those values so that you can use the information in you test script.

There are many other eValid commands available that do NOT pivot on the internally maintained "sourceIndex" and "ElementValue" string values.

These commands use the current DOM idx and/or the current idx's ID value as pivots.


-- eValid Support