Page 1 of 1

Extracting text from a DOM element

PostPosted: Thu Dec 30, 2021 10:14 am
by AckerS
Greetings.

How do I extract text from a DOM element if I know the SourceIndex?

Please explain what would be involved.

Thanks

Re: Extracting text from a DOM element

PostPosted: Fri Dec 31, 2021 9:38 am
by eValid
AckerS wrote:Greetings.

How do I extract text from a DOM element if I know the SourceIndex?

Please explain what would be involved.

Thanks


Thanks for asking about this AckerS.

So, you know the sourceIndex already?

The eValid command to use is:

ValueGetElement wid name "frame_path" where wid is the window sequence number, name gives the name within the current (sourceIndex) of the property in that element, and the frame path specifies the frame name.

The value is extracted from the DOM and put into the string "elementValue" that can later be used by other eValid commands.


-- eValid Support