Examples
General
- Page object inheritance
How to implement base page object and inherit it. - Switch between browser windows
How to switch to newly opened browser window. - Finding hidden element
How to find hidden control/element on a page. - Verification of labels
How to verify a text of labels associated with inputs. - Take screenshot
How to take/capture screenshot. - Override ControlDefinitionAttribute for property of Control type
How to set ControlDefinitionAttribute for property of Control type. - Set ControlDefinitionAttribute for property of ControlList type
How to set ControlDefinitionAttribute for property of ControlList type. - Custom ControlDefinitionAttribute
How to create custom ControlDefinitionAttribute. - Custom FindByAttributeAttribute
How to create custom FindByAttributeAttribute.
Navigation
- Navigation to page by static URL
How to perform the navigation to the page by static URL. - Navigation to page by dynamic URL
How to perform the navigation to the page by dynamic/parameterized URL. - Navigation to specific page after click
How to perform the navigation to specific page after the button/link click. - Navigation to particular pages after click
How to perform the navigation to one of particular pages after the button/link click. - Navigation to any page after click
How to perform the navigation to different pages after the button/link click. - Navigation to popup and back
How to perform the navigation to popup page object and back.
Waiting
- Wait for element upon page initialization
How to wait for an element upon page initialization. - Wait until element is hidden upon page initialization
How to wait for an element to become hidden upon page initialization.
Custom controls
- Custom rich text editor based on contenteditable
How to implement custom control for rich text editor that is based on contenteditable HTML attribute.
Custom verification extension methods
- Custom verification extension method for generic page object
How to implement custom verification extension method for a generic page object. - Custom verification extension method for specific page object
How to implement custom verification extension method for a specific page object.
Custom triggers
- Custom trigger: wait for loading indicator
How to implement custom trigger that waits for a specific element presence and then absence.
Bootstrap
- Bootstrap dropdown (BSDropdownToggle<TOwner>)
How to interact with Bootstrap dropdown component.
Kendo UI
- Kendo UI Grid (KendoGrid<TRow, TOwner>)
How to interact with Kendo UI Grid component.