Return to the Product Announcements and Release Notes Blog
We are happy to announce the availability of the Appium Suites functionality on devices located in the US Real Device Cloud.
The Appium Suites advanced setup enables you to conveniently organize your Appium test results in suites with a combined report, vs separate reports with the basic setup.
Appium Suites gives customers a simple, consolidated report for easy analysis. The report contains information such as the number of tests run, number of devices, failures detected and issues reported.
Sample Appium Suite Report
Java code sample to configure Appium Suites
/* You must add these two annotations on top of your test class. */
@TestObject(testLocally = false, testObjectApiKey = "YOUR_API_KEY", testObjectSuiteId = YOUR_SUITE_NUMBER)
@RunWith(TestObjectAppiumSuite.class)
public class CompleteTestSetup {
private AppiumDriver driver;
@Rule
public TestName testName = new TestName();
@Rule
public TestObjectAppiumSuiteWatcher resultWatcher = new TestObjectAppiumSuiteWatcher();
@Before
public void setUp() throws Exception {
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("testobject_api_key", resultWatcher.getApiKey());
capabilities.setCapability("testobject_test_report_id", resultWatcher.getTestReportId());
driver = new AndroidDriver(resultWatcher.getTestObjectOrLocalAppiumEndpointURL(), capabilities);
resultWatcher.setRemoteWebDriver(driver);
}
@Test
public void testMethod() {
/* Your test. */
}
}
For further info on Appium Test Setup and examples can be found here.