Your e-Business Quality Partner eValid™ -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.

eValid -- Validate Selected Document Object Property Command
eValid Home

Introduction
The ValidateSelectedObjProperty command provides a powerful and general way to validate selected features of a web page using the contents of the DOM as revealed by the eValid PageMap feature. See the worked example in Validating Selected Document Object Properties.

Validate Document Object Property Command

KEY COMMAND SYNTAX:
Name(...)
ORIGIN EXPLANATION COMMENTS
PAGEMAP ValidateSelectedObjProperty wid idx [["id_name"] "id_value"] name value "frame_path"

[1] ValidateSelectedObjProperty wid idx name value "frame_path"

[2] ValidateSelectedObjProperty wid idx ["id_value"] name value "frame_path"

[3] ValidateSelectedObjProperty wid idx [["id_name"] "id_value"] name value "frame_path"

Edit Validates the specific content of the described DOM object in the indicated frame (as specified by the frame_path).

Details of the available names are usually found using the eValid PageMap facility.

If the object found at idx does not have the given name, or if name is correct and the value the name currently has is incorrect, or if name is not found, an ERROR results.

If the object with ID equal to id_value exists and the name has the specified value, or if name is correct and the value the name currently has is incorrect, or if name is not found, an ERROR results.

If the object with object id_name equal to id_value exists and the name has the specified value, or if name is correct and the value the name currently has is incorrect, or if name is not found, an ERROR results.

Validation of text items is case sensitive.

The eValid Adaptive Playback is only available for this command only if the command has one or two of the additional parameters specified.

There are three variations of this command, which take into account three ways the command works, depending on how specific you wish the object validation to be.