[
https://issues.jboss.org/browse/ARQ-434?page=com.atlassian.jira.plugin.sy...
]
Karel Piwko commented on ARQ-434:
---------------------------------
If I read this correctly, Arquillian Drone can handle configuration, creation and
destruction of multiple AjaxSelenium instances. However, it would be up to user to switch
to correct context manually by his own.
Suppose following:
{code:java}
@Drone AjaxSelenium b1;
@Test
public void test(@Drone AjaxSelenium b2) {
// we can't switch to b2, as the first method might be
b1.click(...);
// no way how to check method body
}
{code}
The only other idea I got so far is that AjaxSelenium will set correct context in each
call, e.g.
{code:java}
public class AjaxSelenium {
public void click(...) {
AjaxSeleniumContext.setContext(this);
// do the click()
}
}
{code}
Lukas, what do you think?
Enable handling of multiple AjaxSelenium instances in one class
---------------------------------------------------------------
Key: ARQ-434
URL:
https://issues.jboss.org/browse/ARQ-434
Project: Arquillian
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Extension - Drone
Reporter: Lukáš Fryč
Assignee: Karel Piwko
Priority: Critical
Ajocado should have the same possibilities as Selenium and WebDriver browsers.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira