Controls
Last updated
Was this helpful?
Last updated
Was this helpful?
Custom controls used by other features are defined in this section.
A good example is Hoverable
control used in . Since many controls have to be hovered so that save, edit and cancel buttons become visible, we wrapped the behavior in this generic control.
Other components which need this behavior simply inherit from this control and define their own fields and subcomponents.
Then you can define this RoleStatusControl
and use it on another page object:
After defining control on page object, we can test it:
Here is a snippet demonstrating how to use Hoverable
on :