ENV:
Appium 1.6.4
java-client-5.0.0-BETA8
Our tests run smoothly with the Java-Client 4.1.2.
Now when we change it to the latest java-client-5.0.0-BETA8 the app is installed but the driver is failing to initialize.
Below is our desired capabilities.
Are we missing somthing there? Can someone with similar ENV can share his desired capabilities for comparison?
Maybe there is other dependencies that we are missing?
Any help will be most appreciated!
DesiredCapabilities capabilities = DesiredCapabilities.android();
capabilities.setCapability(MobileCapabilityType.APP, genMeth.getValueFromPropFile(“appPath”));
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, genMeth.getValueFromPropFile(“deviceName”));
capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 120);
capabilities.setCapability(“automationName”,“uiautomator2”);
driver = new AndroidDriver(service.getUrl(),capabilities);