Define a set of steps which can be "called" from a run element.
<suite name="checkuser" > <with page="user"> <fetch querystring="id=#{userid}"/> <verify/> </with> </suite> <set name="userid" value="user1"/> <run suite="checkuser" /> <set name="userid" value="user2"/> <run suite="checkuser" /> <set name="userid" value="user3"/> <run suite="checkuser" />
domain -- Map a domain name to an ip address.
eval -- Evaluate an arithmetic or xpath expression
exec -- Run a datatbase sql command
fetch -- Fetch a file, an XML or a HTML page.
output -- Output a value or expression.
outputhtml -- Outputs the last fetched page to the stderr output stream without any formatting.
outputpage -- Output an XML representation of the most recently loaded page.
outputtidy -- Outputs a formatted version of the last fetched page to the stderr output stream.
script -- Specifies javascript code, which will be executed in the context of the current page.
set -- Set a variable to a value extracted from the database, to a value extracted from the current page.
submit -- Submit a form.
verify -- Verify the most recently fetched page against a specification.
verifylinks -- Verify that the links in the current page are valid.
with -- Group together a set of steps that use the same page definition.
Attribute Value(s) Default Value name Assign a unique name to allow this element to be referenced by other elements
ID#IMPLIED stepid CDATA #IMPLIED
( domain | script | with | fetch | outputhtml | outputpage | outputtidy | verify | submit | verifylinks | set | eval | exec | output ) +
steps -- This element contains all the test steps.
Top Elements || All Elements || Tree