Interface IFocusableComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a focusable component.
public interface IFocusableComponent
Properties
IsActiveElement
Gets a value indicating whether this element has focus.
bool IsActiveElement { get; }
Property Value
Methods
Focus()
Set focus on this component.
bool Focus()
Returns
- bool
true
if the focus has been set;otherwisefalse
.
SendKeys(params KeyboardKeys[])
Sends a sequence of keystrokes to the component. The component takes the focus before the keys are sent.
void SendKeys(params KeyboardKeys[] keys)
Parameters
keys
KeyboardKeys[]The keystrokes to send to the component.
SendKeys(string)
Sends a sequence of keystrokes to the component. The component takes the focus before the keys are sent.
void SendKeys(string keys)
Parameters
keys
stringThe keystrokes to send to the component.
WaitUntilIsActiveElement()
Waits until the component is the active element.
void WaitUntilIsActiveElement()
WaitUntilIsNotActiveElement()
Waits until the component is not the active element.
void WaitUntilIsNotActiveElement()