com.atlassian.jira.pageobjects.framework.util
Class AnnotationToBy

java.lang.Object
  extended by com.atlassian.jira.pageobjects.framework.util.AnnotationToBy

public final class AnnotationToBy
extends Object

Builds By out of arbitrary annotation that follows the pattern of FindBy.

Partially Copied from Selenium2 cause it can't be reused for custom annotations :P

Since:
v4.4

Field Summary
static String DEFAULT_LOCATOR_METHOD_NAME
           
 
Method Summary
static org.openqa.selenium.By build(Annotation findBy)
           
static org.openqa.selenium.By build(Annotation findBy, String locatorMethodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOCATOR_METHOD_NAME

public static final String DEFAULT_LOCATOR_METHOD_NAME
See Also:
Constant Field Values
Method Detail

build

public static org.openqa.selenium.By build(Annotation findBy)

build

public static org.openqa.selenium.By build(Annotation findBy,
                                           String locatorMethodName)


Copyright © 2002-2012 Atlassian. All Rights Reserved.