Thursday, February 28, 2008

New Index Motion Commands Available

We've added two commands to the powerful DOM Element Manipulation/Motion command set:
  • IndexValidateObjProperty -- checks whether the current sourceIndex has a particular value. This assumes you've already used an IndexFind command to locate the element you're looking for, and now you want to confirm that the specified property of that element has a particular value.
  • IndexSaveObjProperty -- saves the value of the current sourceIndex in a file for later comparison/validation. Similar to the above, you can print out the current value of the selected element's named property for separate confirmation/validation.

This capability effectively extends eValid DOM manipulation to include validating page elements entirely independent of page structure. Tests constructed with this approach are nearly immune to dynamic page changes!

No comments: