Interface IButtonComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a button component for automation.
[AbstractionComponent("button")]
public interface IButtonComponent : IContentComponent, IClickableComponent, IAutomationComponent, IFocusableComponent, IActivableComponent
- Inherited Members
- Extension Methods
Properties
ActionName
Gets the action name of the button.
string? ActionName { get; }
Property Value
BadgeValue
Gets the value of the badge or null if there is no badge.
string? BadgeValue { get; }
Property Value
Name
Gets the displayed name of the button.
string Name { get; }
Property Value
Methods
GetActionByName(string)
Gets the action button component of the action button by the action name.
IButtonComponent? GetActionByName(string name)
Parameters
name
stringthe name of the button.
Returns
- IButtonComponent
the button if found, otherwise null.
GetActions()
Gets the action button components of the action button.
IButtonComponent[] GetActions()
Returns
- IButtonComponent[]
The action button components.
WaitUntilLoaded()
Waits until the button has finished to load.
void WaitUntilLoaded()
Exceptions
- AutomationException
Throws when the data does not loaded within the time limit.