Webtest WebTest GitHub Home

Core Step verifyInputField

Description

This step verifies the value of a particular input field. It is typically used to check that input field defaults are correctly set.

Parameters

name
Required? yes
The xpath of the input field of interest. One of name, htmlId or xpath is required.
description
Required? no
The description of this test step.
fieldIndex
Required? no
The index (starting at 0) of the field of interest (if more than one).
formName
Required? no
The name of the form containing the field of interest.
htmlId
Required? yes/no
The id of the input field of interest. One of name, htmlId or xpath is required.
regex
Required? no, default is 'false'
Specifies whether the value represents a regular expression.
value
Required? no
The value of the input field of interest.
xpath
Required? yes/no
The xpath of the input field of interest. One of name, htmlId or xpath is required.