Webtest WebTest GitHub Home

Extension Step verifyDocumentURL

Description

This step verifies that the document URL matches the supplied text (potentially using a regular expression).

Parameters

text
Required? yes
The text value to verify against.
description
Required? no
The description of this test step.
regex
Required? no, default is 'false'
Specifies whether the text value represents a regular expression.

Inline Text

The inline text is all the text between the start tag ( <verifyDocumentURL> ) and the end tag ( </verifyDocumentURL> ), including blanks, tabs or newlines. Using a pair of start/end tags ( <verifyDocumentURL> </verifyDocumentURL> ) has not the same behavior than the seemingly equivalent empty element tag ( <verifyDocumentURL/> ).

Required? no
Alternative way to set the 'text' attribute.