Class InputValidator
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.MADE
Assembly: Legerity.MADE.dll
Syntax
public class InputValidator : WindowsElementWrapper
Constructors
| Improve this Doc View SourceInputValidator(WindowsElement)
Initializes a new instance of the InputValidator class.
Declaration
public InputValidator(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceMessage
Gets the validation feedback message associated with the ValidationFeedback element.
Declaration
public virtual string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
ValidationFeedback
Gets the TextBlock associated with the validation feedback message.
Declaration
public virtual TextBlock ValidationFeedback { get; }
Property Value
Type | Description |
---|---|
TextBlock |
Methods
| Improve this Doc View SourceFeedbackMessage()
Retrieves the feedback message text if the ValidationFeedback is shown.
Declaration
public virtual string FeedbackMessage()
Returns
Type | Description |
---|---|
System.String | The feedback message text of the ValidationFeedback element. |
Input(By)
Retrieves the input element with the given locator.
Declaration
public AppiumWebElement Input(By locator)
Parameters
Type | Name | Description |
---|---|---|
By | locator | The locator to find the input element. |
Returns
Type | Description |
---|---|
AppiumWebElement | The |
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to InputValidator)
Allows conversion of a
Declaration
public static implicit operator InputValidator(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
InputValidator | The InputValidator. |
Implicit(RemoteWebElement to InputValidator)
Allows conversion of a
Declaration
public static implicit operator InputValidator(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
InputValidator | The InputValidator. |
Implicit(WindowsElement to InputValidator)
Allows conversion of a
Declaration
public static implicit operator InputValidator(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
InputValidator | The InputValidator. |