[arquillian-issues] [JBoss JIRA] (ARQ-838) Allow Arquillian Drone to handle Robotium
Karel Piwko (JIRA)
issues at jboss.org
Thu Jul 2 06:55:02 EDT 2015
[ https://issues.jboss.org/browse/ARQ-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karel Piwko closed ARQ-838.
---------------------------
Resolution: Rejected
Robotium could be handled by Droidium project instead. If you want to have it there, feel free to open new issue.
> Allow Arquillian Drone to handle Robotium
> -----------------------------------------
>
> Key: ARQ-838
> URL: https://issues.jboss.org/browse/ARQ-838
> Project: Arquillian
> Issue Type: Task
> Components: Extension - Drone
> Reporter: Karel Piwko
> Assignee: Aleksey Shilin
>
> Robotium is a Java based framework for testing Android applications using a high level API.
> Once the integration with Android integration tests is done, it would be convenient to have its support in Arquillian Drone.
> The key here is to grab current activity from Android context and provide a Solo object which could be injected into test itself.
> The usage might look similar to the following:
> {code}
> @RunWith(Arquillian.class)
> public class AndroidTest {
>
> @Test
> public void androidActivity(@AndroidActivity HelloAndroid helloAndroid, @Drone Solo solo) {
> solo.sendKey(Solo.MENU);
> solo.clickOnText("More");
> solo.clickOnText("Preferences");
> solo.clickOnText("Edit File Extensions");
> Assert.assertTrue(solo.searchText("rtf"));
> }
> }
> {code}
> Note that the above example does not reflect possible usage of Android/Robotium in class level, this a method-level proposal.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the arquillian-issues
mailing list