[arquillian-issues] [JBoss JIRA] (ARQGRA-221) Introduce own implementation of By
Jan Papousek (JIRA)
jira-events at lists.jboss.org
Thu Nov 1 10:55:19 EDT 2012
[ https://issues.jboss.org/browse/ARQGRA-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Papousek updated ARQGRA-221:
--------------------------------
Description:
Locators in Graphene 1 contains #format(Object...) method which allows you to reuse in the following way:
{code}
JQueryLocator general = jq("div[id$=item{0}] td.rf-ac-itm-ico");
for (int i=0; i<10; i++) {
JQueryLocator icon = general.format(1);
...
}
{code}
It would be nice to have something similar in Graphene 2 (using By instead of JQueryLocator).
Other possibly usefel methods:
- getDescendant()
- getChild()
was:
Locators in Graphene 1 contains #format(Object...) method which allows you to reuse in the following way:
{code}
JQueryLocator general = jq("div[id$=item{0}] td.rf-ac-itm-ico");
for (int i=0; i<10; i++) {
JQueryLocator icon = general.format(1);
...
}
{code}
It would be nice to have something similar in Graphene 2 (using By instead of JQueryLocator).
> Introduce own implementation of By
> ----------------------------------
>
> Key: ARQGRA-221
> URL: https://issues.jboss.org/browse/ARQGRA-221
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Affects Versions: 2.0.0.Alpha2
> Reporter: Jan Papousek
>
> Locators in Graphene 1 contains #format(Object...) method which allows you to reuse in the following way:
> {code}
> JQueryLocator general = jq("div[id$=item{0}] td.rf-ac-itm-ico");
> for (int i=0; i<10; i++) {
> JQueryLocator icon = general.format(1);
> ...
> }
> {code}
> It would be nice to have something similar in Graphene 2 (using By instead of JQueryLocator).
> Other possibly usefel methods:
> - getDescendant()
> - getChild()
--
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