Used to define the structure of a html page.

The purpose of this element is to allow the structure of the pages to be described independantly of the tests (actions) being applied.

If prefered, all the elements nested in a definedPage element can also be used "inline", with the tests themselves, inside a verify element.

1. Allowed Content

cookies -- Specifies that a page or response contains a one or more cookies.
dbinsert -- Defines a set of database insertions for a page or response.
element -- Defines en element in an xml or html page using an xpath expression.
form -- Specifies that a page or response contains a frameset
frameset -- Specifies that a page contains a frameset
link -- Defines a link (<a>) in a page or response.

2. Attributes

AttributeValue(s) Default Value

Assign a unique name to the page so that it can be referenced by tests.


Assign the url of the page.

When the page if fetched e.g. by a fetch action, extra parameters can be applied to the query string. Also if a global baseurl has been defined (see testSpec, this will be prepended.


3. Content Rule

( form | frameset | cookies | dbinsert | link | element ) *

4. Parent Elements

definepages   -- Allows definePage elements to be grouped together.
testspec   -- The root element of a xml test script.

Top Elements || All Elements || Tree

test DTD