Your e-Business Quality Partner eValid™ -- The Web Quality Suite
Browser-Based Client-Side Functional Testing and Validation Page Timing/Tuning Transaction Monitoring. WebSite Spidering & Analysis and Realistic Server Loading.
© Copyright 2000-2008 by Software Research, Inc.

eValid -- DOM Input/Output Operations -- Command Description
eValid Home

Introduction
The basic idea of these commands is to make it possible to have input and output values for sourceIndex and elementValue. These commands work to do this by reading and writing files that contain the information to be saved.

The DOM Element Manipulation/Motion commands are the ones that locate, modify and manipulate element values, to which the souceIndex value pertains The DOM Value Manipulation commands are used to control manipulation of DOM property values to which the elementValue string pertains.

IndexSave   IndexRead   ValueSave   ValueRead  

DOM Input/Output Operations -- Command Description  

Working Assumptions About These Commands:
  • There is only one sourceIndex and elementValue known to eValid at any time.
  • The sourceIndex is always an integer.
  • The initial value of the sourceIndex is always set to zero.
  • The elementValue is always a string.
  • The initial value of the elementValue is always set to empty.
  • The value of the sourceIndex persists between pages, but may not be meaningful between pages.
  • The value of the elementValue persists between pages, as long as the current playback is running.
KEY COMMAND SYNTAX:
Name(...)
ORIGIN EXPLANATION COMMENTS
PAGEMAP IndexSave "filename" Edit Saves the sourceIndex into the specified filename.  
PAGEMAP IndexRead "filename" Edit Reads the sourceIndex from the specified filename. If the file is empty, the sourceIndex is set to zero.
PAGEMAP ValueSave "filename" Edit Saves the elementValue into the specified filename.  
PAGEMAP ValueRead "filename" Edit Reads the elementValue from the specified filename. If the file is empty, the elementValue is set to blank.

Notes

  1. The content of the elementValue is whatever can be a value in a DOM element attribute (property). This data can include any characters at all and may be of any length. The actual file written may not necessarily be viewable, but whatever is written with the ValueSave command will be correctly read by the ValueRead command.
  2. A file that you use (with IndexRead or ValueRead) must exist or an error results.