Mobile Device Cloud AI4Test Quality & Intelligent Automation Our expertise Blog Categories Mobile Device Cloud Testing with artificial intelligence Quality & Intelligent Automation Support First steps EN DE EN DE Services Mobile Device Cloud Functions at a glance Rates in comparison Target group Automation & Frameworks Benefits Devices in the MDC First steps with the MDC Pricing & Order AI4Test Overview Details How it works Use cases Benefits Pricing & Request Quality & Intelligent Automation Processes Efficiency Solutions Benefits Expertise Request Our expertise Best practice Experts Partners Blog Blog Categories Release Notes Appium Automatisierung Webportal Pricing & Order Mobile Device Cloud Testing with artificial intelligence Quality & Intelligent Automation Help Support Contact FAQ First steps Registration and order Use of the Mobile Device Cloud

Mobile app testing & automation with Selenium

The use of the following test frameworks and test tools has been evaluated and tested. Other common frameworks and test tools are under evaluation. If you have any questions about using your preferred test tools, please feel free to contact us.

Appium Appium + Jetpack Compose XCUITest Espresso TestCafe Tosca Selenium Testerra Flutter React Native Playwright Jenkins TeamCity

Test your web applications automatically on all available browsers in the Mobile Device Cloud.

Selenium was created for automated Softwaretests of Web Applications. The Mobile Device Cloud supports the Selenium 3 and Selenium 4 Framework.

Several Selenium API compatible programming languages are available for developing your tests (Java, Ruby Phyton and Node).

Read more about Selenium on ??usage.app.selenium.subsite.link.text_en??

import org.openqa.selenium.*;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.junit.jupiter.api.*;
import java.net.URL;
import java.time.Duration;

public class ExampleTest {

    private static final String ACCESS_KEY = "YOUR_ACCESS_KEY_TO_THE_MOBILE_DEVICE_CLOUD";
    private RemoteWebDriver driver;
    private DesiredCapabilities dc = new DesiredCapabilities();
    private final String TEST_NAME = "Selenium Quick Start Browser MDC-Demo";

    @BeforeEach
    public void setUp() throws Exception {
        dc.setCapability("experitest:Call MMS Mobile Device Cloud", TEST_NAME);
        dc.setCapability("experitest:accessKey", ACCESS_KEY);
        dc.setCapability("experitest:testName", TEST_NAME);
        driver = new RemoteWebDriver(new URL("https://mobiledevicecloud.t-systems-mms.eu/wd/hub"), dc);
        dc.setCapability(CapabilityType.BROWSER_NAME, "safari");
    }

    @Test
    public void browserMDCTest() throws InterruptedException {
        driver.get("https://mobiledevice.cloud/");
        new WebDriverWait(driver, Duration.ofSeconds(15)).until(ExpectedConditions.presenceOfElementLocated(By.id("devicecloud-layer-title")));
        WebElement acceptCookie = driver.findElement(By.id("consentAcceptAll"));
        acceptCookie.click();

    }

    @AfterEach
    public void tearDown() {
        System.out.println("Report URL: "+ driver.getCapabilities().getCapability("reportUrl"));
        driver.quit();
    }
}

First steps with Selenium

1.

Contact us

2.

Write Test

3.

Start Test

1. Contact us

Book a package, create a free trial account or contact us, to get access to the Mobile Device Cloud.

2. Write Test

Write your Selenium test in your familiar programming language (The test "ExampleTest" was written in Java and TestNG for illustration).

3. Start Test

Start your Selenium-Test.

You can view your test results in the reporting area of the Mobile Device Cloud.