DOM Values

Applying eValid to AJAX applications that require advanced DOM-based methods.

DOM Values

Postby pv56 » Mon Jul 26, 2010 4:01 pm

Can one eValid instance read another eValid instance's DOM values? I need to move DOM values from one context to another...any ideas?
pv56
 
Posts: 1
Joined: Mon Jul 26, 2010 3:41 pm

Re: DOM Values

Postby eValid » Mon Aug 16, 2010 7:05 am

pv56 wrote:Can one eValid instance read another eValid instance's DOM values? I need to move DOM values from one context to another...any ideas?

As you may know, each eValid instance is a separate executable in Windows, so the simplest way for one eValid instance to send data to another is via the Windows file system.

You can do this with commands like IndexSave "filename" and ValueSave "filename" after you've used the IndexFindElement command to set the internal sourceIndex pointer to a particular value.

In effect you use "filename" on the local machine to communicate between the two [or more] eValid instances.

The eValid Team
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA

Re: DOM Values

Postby PLSNCB » Tue Oct 19, 2010 12:49 am

What if I want to save data from one page and insert (not only compare) that value in another one ?

example:
URL1 return a session number
URL2 is sth like http://mysite/mypage?session=session-number
PLSNCB
 
Posts: 1
Joined: Tue Oct 19, 2010 12:43 am

Re: DOM Values

Postby eValid » Sun Nov 14, 2010 12:08 pm

PLSNCB wrote:What if I want to save data from one page and insert (not only compare) that value in another one ?

example:
URL1 return a session number
URL2 is sth like http://mysite/mypage?session=session-number

This also is quite possible and not too difficult to do. The "trick" is to employ the local machine as the temporary repository of page details.

There's an example worked out at this URL:
http://www.e-Valid.com/Products/Documentation.9/Structural/value.setting.loop.html

This example details the "value setting loop" that involves extracting, processing, and re-inserting values into the page. Please us know if this answers your question?

The eValid Team
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

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