Interface IInputLocalizableStringComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of the automation of a input localizable string component.
[AbstractionComponent("input-localizable-string")]
public interface IInputLocalizableStringComponent : ITextBoxComponent, IStringInputComponent, IClearableComponent, ISelectableComponent, IFormFieldComponent, IAutomationComponent, IInputComponent, IValidationComponent, IFocusableComponent
- Inherited Members
Methods
GetModal()
Gets the localizable string modal.
ILocalizableStringModal GetModal()
Returns
- ILocalizableStringModal
Returns a localizable string modal.
Exceptions
- AutomationException
The modal does not exist.
GetValue(string, bool)
Gets the value for the specified language.
string? GetValue(string language, bool openModal = false)
Parameters
languagestringLanguage to get.
openModalboolIndicates whether the value must be gotten from the modal. The modal is closed afterwards.
Returns
- string
Value for the specified language.
Exceptions
- AutomationException
The value cannot be gotten.
OpenModal()
Opens the localizable string modal.
ILocalizableStringModal OpenModal()
Returns
- ILocalizableStringModal
Returns a localizable string modal.
Exceptions
- AutomationException
The modal cannot be opened.
SetValue(string, string?, bool)
Sets the value for the specified language.
void SetValue(string language, string? value, bool openModal = false)
Parameters
languagestringLanguage to set.
valuestringValue to set.
openModalboolIndicates whether the value must be set in the modal. The modal is closed afterwards.
Exceptions
- AutomationException
The value cannot be set.