Enum LocateBy
- java.lang.Object
-
- java.lang.Enum<LocateBy>
-
- org.uitnet.testing.smartfwk.ui.core.commons.LocateBy
-
- All Implemented Interfaces:
Serializable,Comparable<LocateBy>
public enum LocateBy extends Enum<LocateBy>
- Author:
- Madhav Krishna
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AccessibilityIdClassNameCssSelectorIdLinkTextNamePartialLinkTextTagNameXpath
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocateByvalueOf(String name)Returns the enum constant of this type with the specified name.static LocateBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Id
public static final LocateBy Id
-
Name
public static final LocateBy Name
-
ClassName
public static final LocateBy ClassName
-
TagName
public static final LocateBy TagName
-
CssSelector
public static final LocateBy CssSelector
-
AccessibilityId
public static final LocateBy AccessibilityId
-
LinkText
public static final LocateBy LinkText
-
PartialLinkText
public static final LocateBy PartialLinkText
-
Xpath
public static final LocateBy Xpath
-
-
Method Detail
-
values
public static LocateBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LocateBy c : LocateBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocateBy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-