Annotation Type iOSXCUITBy


  • public @interface iOSXCUITBy
    Used to build a complex iOS XCUIT mode locator.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String accessibility
      It an UI automation accessibility Id which is a convenient to iOS.
      java.lang.String className
      It is a name of a type/class of the target element.
      java.lang.String id
      It is an id of the target element.
      java.lang.String iOSClassChain
      The Class Chain locator is similar to xpath, but it's faster and can only search direct children elements.
      java.lang.String iOSNsPredicate
      The NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.
      int priority
      Priority of the searching.
      java.lang.String tagName
      It is a desired element tag.
      java.lang.String xpath
      It is a xpath to the target element.
    • Element Detail

      • iOSClassChain

        java.lang.String iOSClassChain
        The Class Chain locator is similar to xpath, but it's faster and can only search direct children elements. See the documentation for more details.
        Returns:
        iOS class chain
        Default:
        ""
      • iOSNsPredicate

        java.lang.String iOSNsPredicate
        The NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.
        Returns:
        iOS NSPredicate
        Default:
        ""
      • accessibility

        java.lang.String accessibility
        It an UI automation accessibility Id which is a convenient to iOS. About iOS accessibility See UIAccessibilityIdentification
        Returns:
        an UI automation accessibility Id
        Default:
        ""
      • id

        java.lang.String id
        It is an id of the target element.
        Returns:
        an id of the target element
        Default:
        ""
      • className

        java.lang.String className
        It is a name of a type/class of the target element.
        Returns:
        a name of a type/class of the target element
        Default:
        ""
      • tagName

        java.lang.String tagName
        It is a desired element tag.
        Returns:
        a desired element tag
        Default:
        ""
      • xpath

        java.lang.String xpath
        It is a xpath to the target element.
        Returns:
        a xpath to the target element
        Default:
        ""
      • priority

        int priority
        Priority of the searching. Higher number means lower priority.
        Returns:
        priority of the searching
        Default:
        0