Annotation Type WindowsFindBy
-
@Retention(RUNTIME) @Target({FIELD,TYPE}) @Repeatable(WindowsFindBySet.class) public @interface WindowsFindBy
Used to mark a field on a Page Object to indicate an alternative mechanism for locating the element or a list of elements. Used in conjunction withPageFactory
this allows users to quickly and easily create PageObjects. using Windows automation selectors, accessibility, id, name, class name, tag and xpath
-
-
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 Windows.java.lang.String
className
It is a className of the target element.java.lang.String
id
It is an id of the target element.int
priority
Priority of the searching.java.lang.String
tagName
It is a desired element tag.java.lang.String
windowsAutomation
It is a Windows automator string.java.lang.String
xpath
It is a xpath to the target element.
-