Error: AUT is not installed. (WARNING: The server did not provide any stacktrace information), while running test with IOSDriver

0

So I'm doing a simple Safari test of an Iphone 5s and this bug is appearing to me: AUT is not installed. (WARNING: The server did not provide any stacktrace information.)

And I do not know why! Here's my code:

public void testNavegar() {
    WebDriver driver = null;
    try {

        DesiredCapabilities capabilities = new DesiredCapabilities();
        capabilities.setCapability("PlatformName", "iOS");
        capabilities.setCapability("userName", "****");
        capabilities.setCapability("password", "******");
        capabilities.setCapability("browserName", "safari");
        driver = new IOSDriver<WebElement>(new URL("http://*******"), capabilities);
        System.out.println("Tests started");
        driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);

        driver.get("http://********/");
        System.out.println("Acessando o site");
        mudarIdioma(driver);
        clicarSobreLInk(driver);
        clicarLinkQuemSomos(driver);
        selecionarCidade(driver);
        clicarHome(driver);
        clicarSustentabilidade(driver);
        clicarLinkPoliticaSocioAmbiental(driver);           
        clicarLinkPoliticaSocioAmbientalPDF(driver);

        System.out.println("Terminei o teste ok");

        assertTrue(Boolean.TRUE);
    } catch (Exception e) {
        e.printStackTrace();
        assertTrue(Boolean.FALSE);
    }
    //driver.quit();
    //driver.closeApp();
}
    
asked by anonymous 15.05.2018 / 17:06

0 answers