Class ElementNotShownException
Defines an exception for when an element is not shown.
Namespace: Legerity.Exceptions
Assembly: Legerity.Core.dll
Syntax
public class ElementNotShownException : LegerityException
Constructors
| Improve this Doc View SourceElementNotShownException(String)
Initializes a new instance of the ElementNotShownException class.
Declaration
public ElementNotShownException(string locator)
Parameters
Type | Name | Description |
---|---|---|
System.String | locator | The locator used to locate the element. |
ElementNotShownException(String, Exception)
Initializes a new instance of the ElementNotShownException class.
Declaration
public ElementNotShownException(string locator, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | locator | The locator used to locate the element. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
| Improve this Doc View SourceElementName
Gets the name of the element that was not shown.
Declaration
public string ElementName { get; }
Property Value
Type | Description |
---|---|
System.String |
Locator
Gets the locator used to locate the element.
Declaration
public string Locator { get; }
Property Value
Type | Description |
---|---|
System.String |