[arquillian-issues] [JBoss JIRA] (ARQGRA-357) Support for setting custom defaultElementLocatingStrategy

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Sep 10 08:30:03 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803079#comment-12803079 ] 

Lukáš Fryč commented on ARQGRA-357:
-----------------------------------

Let's support just common types defined by {{How}} for now.

Note that it doesn't make sense to support jQuery since the {{locator}} diverged from field name won't be more useful than e.g. {{tagName}} type:

{code}
@FindBy
private WebElement input;

-- > By.tagName("input")
-- > ByJQuery.selector("input")
{code}
                
> Support for setting custom defaultElementLocatingStrategy
> ---------------------------------------------------------
>
>                 Key: ARQGRA-357
>                 URL: https://issues.jboss.org/browse/ARQGRA-357
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 2.0.0.Alpha5
>            Reporter: Juraj Húska
>            Priority: Minor
>             Fix For: 2.0.0.Beta1
>
>
> Since we support extending the locating strategy, e.g. {{FindByJQuery}}, we should also support setting of such custom locating strategy as:
> {{defaultLocatingStrategy}} for all FindBys.
> The non ability to do so is hidden [here|https://github.com/arquillian/arquillian-graphene/blob/master/impl/src/main/java/org/jboss/arquillian/graphene/findby/Annotations.java#L71].

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