[arquillian-issues] [JBoss JIRA] (ARQGRA-235) Automatically infer ID locator from field name annotated just by @FindBy
Juraj Húska (JIRA)
jira-events at lists.jboss.org
Mon Mar 18 06:29:41 EDT 2013
[ https://issues.jboss.org/browse/ARQGRA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761544#comment-12761544 ]
Juraj Húska commented on ARQGRA-235:
------------------------------------
Already merged with upstream.
It by default automatically infer the element by using {{ByIdOrName}} location strategy and the field name as the locator.
It can be configured with {{defaultElementLocatingStrategy}} property in {{arquillian.xml}}. The possible values are the lowercase values of {{org.jboss.arquillian.graphene.enricher.findby.How}}
> Automatically infer ID locator from field name annotated just by @FindBy
> ------------------------------------------------------------------------
>
> Key: ARQGRA-235
> URL: https://issues.jboss.org/browse/ARQGRA-235
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Assignee: Juraj Húska
> Priority: Minor
> Fix For: 2.0.0.Beta1
>
>
> Consider following:
> {code:java}
> @FindBy(id = "loginButton")
> WebElement loginButton;
> @FindBy
> WebElement loginButton;
> {code}
> The lookup should be done using ID or name attribute strategy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list