Practice pages
Pages to write tests against. They do not change once published, so a test written today still works tomorrow.
Use them with Vision Automation Framework, plain Selenium or any other tool. Nothing you enter is stored or
sent anywhere, and these pages set no analytics cookies. Every element has a stable id; the
guide explains the control types.
Forms
A sign-up form: text fields, a drop-down list, check boxes, radio buttons, a tooltip, a character counter and validation messages from the server.
AsTextInputField()
AsTextAreaField()
AsSelectBox()
AsCheckBox()
AsRadioButton()
AsButton()
AsLabelText()
AsToolTipText()
AsCounterField()
Tables
A list of 25 people with sorting, a filter and pages of 10, all done on the server, and a counter of the matching rows.
AsTableBody()
AsCounterField()
AsLabelText()
AsLink()
LetsGetCountOfElements()
Loading and waiting
Results behind a spinner, a message that appears later, a list that is drawn again, and a call made with jQuery that VAF waits for by itself.
LetsUseLoader()
WaitForLoad()
AsLabelText()
AsButton()
Alerts
The browser's own alert, confirm and prompt dialogs, and one alert that opens a moment after the click.
HaveAlert()
Accept()
Dismiss()
HaveText()
ContainText()
Windows and tabs
A link that opens a new tab and a button that opens a new window, both with their own title and address.
LetsSwitchToWindow()
LetsSwitchToWindowByURL()
LetsCheckIfWindowExists()
LetsCloseTab()
LetsOpenNewTab()
More pages follow: date pickers, file upload, a slider and the context menu.