Extracting text from a DOM element

Discussion of the technology underlying the eValid solution.

Extracting text from a DOM element

Postby AckerS » Thu Dec 30, 2021 10:14 am

Greetings.

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

Please explain what would be involved.

Thanks
AckerS
 
Posts: 1
Joined: Thu Dec 30, 2021 10:07 am

Re: Extracting text from a DOM element

Postby eValid » Fri Dec 31, 2021 9:38 am

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
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

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