Form Steps

Form helpers QA and automation teams use to fill forms by visible label, placeholder, or name. Survives selector churn.

Step phrasings in this group

The book sidebar lists each individual step page under this group.

When I fill in "Username" with "John Smith"

Fill an input field located by its label, placeholder, or name.

When I fill in "#uname" with "John Smith" by attr

Fill an input field located by its attribute.

When I fill in "Username" with:

Clear an input field located by its label.

When I fill in "#uname" with: by attr

Clear an input field located by its attribute.

When I fill in "jon-smith" for "Username"

Fill an input field located by label (reverse syntax).

When I fill in "John Smith" for "#uname" by attr

Fill an input field located by attribute (reverse syntax).

When I fill in the following:

Fills multiple form fields from a data table, located by their labels.

When I fill in the following: by attr

Fills multiple form fields from a data table, located by attribute.

When I select "Mercedes" from "Cars"

Select an option from a dropdown by label, id, class, or name.

When I additionally select "Red" from "Colors"

Add an option to a <select multiple> without clearing the existing selection.

When I check "Remember me"

Checks the specified checkbox by label, id, class, or name.

When I uncheck "Remember me"

Unchecks the specified checkbox by label, id, class, or name.

When I select radio button "Male"

Selects a radio button by label, value, id, or class.

Back to all step groups