diff --git a/README.md b/README.md index 6530255..5b59770 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Quick Start **Optional arguments** - -v :/root : You need to share volume or apk file if for example you want to build the android project inside docker container or you want to run UI test by using appium. + -v :/root/tmp : You need to share volume or apk file if for example you want to build the android project inside docker container or you want to run UI test by using appium. -e APPIUM=True: If you want to use appium as UI test framework to test mobile website or android application 3. Verify the ip address of docker-machine. diff --git a/example/android/python/app_simple.py b/example/android/python/app_simple.py index 3e67d00..ef5866b 100644 --- a/example/android/python/app_simple.py +++ b/example/android/python/app_simple.py @@ -9,8 +9,8 @@ class SimpleAndroidUITests(unittest.TestCase): desired_caps = { 'platformName': 'Android', 'deviceName': 'Android Emulator', - 'app': '/root/sample_apk_debug.apk', - 'avd': 'nexus_5_5.0' + 'app': '/root/tmp/sample_apk_debug.apk', + 'avd': 'samsung_galaxy_s6_5.0.1' } self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps) diff --git a/example/android/python/msite_simple_default_browser.py b/example/android/python/msite_simple_default_browser.py index fbc377b..69b4771 100644 --- a/example/android/python/msite_simple_default_browser.py +++ b/example/android/python/msite_simple_default_browser.py @@ -11,7 +11,7 @@ class MSiteDefaultBrowserAndroidUITests(unittest.TestCase): 'deviceName': 'Android Emulator', 'appPackage': 'com.android.browser', 'appActivity': 'com.android.browser.BrowserActivity', - 'avd': 'nexus_5_5.0' + 'avd': 'samsung_galaxy_s6_5.0.1' } self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)