Textbox Bindings

To Enter Text into a Textbox By Label

 * This is used to enter text into a specific textbox by the given label

'When I enter '{Text}' into the '{LabelName}' textbox'


 * e.g. When I enter 'B90 4SS' into the 'Postcode' textbox



To Enter Text into a Textbox By Label When Multiple Exist

 * This is used to enter text into a specific textbox by the given label when multiple exist

'When I enter '{Text}' into the {Number} '{TextboxLabel}' textbox'


 * e.g. When I enter '0333 1234 288' into the Second 'Telephone' textbox



Assert That a Textbox Contains Text By Label

 * This is used to assert that a textbox has text by the given label

'Then The '{LabelName}' textbox should contain the text '{Text}' '


 * e.g. Then The 'Postcode' textbox should contain the text 'B90 4SS'

Assert That a Textbox Contains Text By Label When Multiple Exist

 * This is used to assert that a textbox has text by the given label when multiple exist

'Then The {Number} '{LabelName}' textbox should contain the text '{Text}' '


 * e.g. Then The second 'Postcode' textbox should contain the text 'B90 4SS'

Assert That the Textbox with Label is Accessible

 * This is used to assert that the textbox with the given label exists on the page

'Then The '{LabelName}' textbox should be accessible'


 * e.g. The The 'Postcode' textbox is accessible