[
https://issues.jboss.org/browse/ARQGRA-196?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-196:
-----------------------------------
Nice idea.
A question is at what time should be such a field enriched?
* at the enrichment time (start of a test)
* at first access of a page fragment
Support enriching @FindBy annotated fields of alternative types
---------------------------------------------------------------
Key: ARQGRA-196
URL:
https://issues.jboss.org/browse/ARQGRA-196
Project: Arquillian Graphene
Issue Type: Feature Request
Components: core
Affects Versions: 2.0.0.Alpha2
Reporter: Aslak Knutsen
{code}
@FindBy(xpath = "//a[@id='name']")
private String name;
{code}
When annotating a field of type String a WebElement.getText could be automatically
invoked and the result set on the field.
Other possible supported types could be: Integer, int, Boolean, Date?
--
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