java.lang.Object
java.lang.Enum<LocateBy>
org.uitnet.testing.smartfwk.ui.core.commons.LocateBy
All Implemented Interfaces:
Serializable, Comparable<LocateBy>, java.lang.constant.Constable

public enum LocateBy
extends Enum<LocateBy>
Author:
Madhav Krishna
  • Enum Constant Details

    • 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 Details

    • values

      public static LocateBy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null