vikramvi / AppiumSerenityPOC

POC showing native android app automation with Appium & Serenity BDD framework
https://www.linkedin.com/pulse/managing-automation-projects-efficiently-one-best-bdd-v-ingleshwar/
36 stars 26 forks source link

can't I run this without .apk file #6

Closed Prasannajnaeyulu closed 6 years ago

Prasannajnaeyulu commented 6 years ago

I have an app already installed in my mobile. I just want to launch the app. and run the tests on it. But, I am getting the following error if I ignore appium.app property from serenity.properties file

Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (The browser under test or path to the app needs to be provided in the appium.app or appium.browserName property.

Prasannajnaeyulu commented 6 years ago

webdriver.driver= appium appium.hub = http://127.0.0.1:4723/wd/hub appium.platformName = Android appium.platformVersion = 5.1.1 appium.deviceName = CB51234567 appium.appPackage = com.sample.test.dev appium.appActivity = com.sample.test.dev.ui.login.LoginActivity appium.noReset = true

Prasannajnaeyulu commented 6 years ago

I figured out this. Just setting the app property with empty value does work. webdriver.driver= appium appium.hub = http://127.0.0.1:4723/wd/hub appium.platformName = Android appium.platformVersion = 5.1.1 appium.deviceName = CB51234567 appium.app = appium.appPackage = com.sample.test.dev appium.appActivity = com.sample.test.dev.ui.login.LoginActivity appium.noReset = true