June 2017
Intermediate to advanced
256 pages
5h 38m
English
When we want to use the app that is already installed on the emulator, we need to use the appPackage and appActivity capabilities and not use the app capability. Let's look at the code we have written till now for starting an app in the HomePageSteps.
@When("^I launch Quikr app$") public void iLaunchQuikrApp() throws Throwable { DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("platformName", "Android"); capabilities.setCapability("platformVersion", "5.1"); capabilities.setCapability("deviceName", "Nexus"); capabilities.setCapability("noReset", false); capabilities.setCapability("fullReset", true); capabilities.setCapability("app", "/Users/nishant/Development/HelloAppium/app/quikr.apk"); ...Read now
Unlock full access