selendroid

How to change Genymotion port

烂漫一生 提交于 2019-12-04 01:48:40
问题 I would like to run automatized test on different Genymotion devices in the same time. For this I have to give seperate port numbers for each device. Is it possible? 回答1: From the Genymotion Launcher, you are able to start multiple VMs. Although these each will have the same default port (5555), they will get different IP addresses from the VirtualBox host-only adapter. For example, I just launched two Genymotion machines and now adb devices shows: $ adb devices List of devices attached 192

Variety of issues testing Android Webview using Appium

孤者浪人 提交于 2019-12-02 09:47:10
I have a hybrid app that is primarily just a webview. Here is the code for the basic test: @BeforeClass public static void setupAppium() throws MalformedURLException { DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("appium-version", "1.5.3"); capabilities.setCapability("platformName", "Android"); capabilities.setCapability("platformVersion", "6.0"); capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "AppiumTesterDevice"); capabilities.setCapability("app", "/work/builds/unify/app/build/outputs/apk/app-debug.apk"); capabilities.setCapability(