Submit a form. It will use the 'set' attribute on input elements, for the submitted values.
<fetch page="newCustomer"/> <verify/> <submit/> <definePage name="newCustomer" url="newCustomer.cfm"> <form name="newCustomerForm" id="newCustomerForm" action="..." method="post"> <dbInsert dbTable="Customers" id="CustomerId" /> <input type="text" name="Name" set="..."/> <input type="text" name="address" set="..."/> <input type="text" name="postcode" set=".../> <input type="select" name="countryID" set="..."/> <input type="textarea" name="Notes" set = ".../> </form> </definePage>
If you want to verify that the values in a submitted form are the same when the form is retrieved. i.e. where you:
<fetch page="newCustomer"/> <verify/> <submit/> <fetch page="newCustomer" queryString="id=#{CustomerId}"/> <verify valueattribute="set"/> ... <definePage>...as above...</definePage>Variable expansion is first performed on global vaiables and then on the javascript of the current HTML page.
EMPTY
Attribute Value(s) Default Value form By default the first form in the current page is used.
IDREF#IMPLIED htmlwarnings If set to true, prints out warings about any sytax problems in the returned page.
true | falsefalse stepid ID #IMPLIED useparentfordefault CDATA #FIXED = page
Empty
steps -- This element contains all the test steps.
suite -- Define a set of steps which can be "called" from a run element.
with -- Group together a set of steps that use the same page definition.
Top Elements || All Elements || Tree