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.

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" [APPEND] Edit Saves the sourceIndex into the specified filename.

If the APPEND parameter appears, the data is written to a new line at the end of the file.

 
PAGEMAP IndexRead "filename" [END] Edit Reads the sourceIndex from the specified filename.

If the END parameter appears, the data is read from the last-appearign line of the file.

If the file is empty, the sourceIndex is set to zero.
PAGEMAP ValueSave "filename" [APPEND] Edit Saves the elementValue into the specified filename.

If the APPEND parameter appears, the data is written to a new line at the end of the file.

 
PAGEMAP ValueRead "filename" [END] Edit Reads the elementValue from the specified filename.

If the END parameter appears, the data is read from the last-appearign line of the file.

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 you specify with IndexSave or ValueSave will be created if it does not exist.
  3. A file that you use with IndexRead or ValueRead must exist or an error results.