Xavier wrote:Hey,
I would like the capture a text (case number) from one window and put it into another window using the DOM manipulation commands.
Can anyone assist me with this.
Thanks.
Welcome to the eValid forum Xavier,
To answer your question:
You can grab a piece of data from one window and put it into another
window using the DOM manipulation commands.
* eValid has special commands to allow internal manipulation of DOM values:
http://www.e-Valid.com/Products/Documen ... ation.htmlYou need to use the Pagemap to find the element numbers to and from
and then use the ValueSet, ValueGetElement, and ValuePutElement...
to extract the value from "here" and then put it "there"...
* Here is a guide to a number of worked examples showing how structural
testing works with evalid DOM manipulation commands:
http://www.e-Valid.com/Products/Documen ... guide.html* The eValid PageMap facility -- which reveals the contents of the
current page eValid is showing you -- gives you a direct look into
the document object model (DOM) of the page. Here's the complete
documentation on this feature:
http://www.e-valid.com/Products/Documen ... neral.html--eValid Team