Changed path of target apk

This commit is contained in:
butomo1989 2017-04-21 13:46:04 +02:00
parent 2ef82e3894
commit 63e64d219b
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ Quick Start
**Optional arguments** **Optional arguments**
-v <android_project_or_apk>:/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 <android_project_or_apk>:/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 -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. 3. Verify the ip address of docker-machine.

View file

@ -9,8 +9,8 @@ class SimpleAndroidUITests(unittest.TestCase):
desired_caps = { desired_caps = {
'platformName': 'Android', 'platformName': 'Android',
'deviceName': 'Android Emulator', 'deviceName': 'Android Emulator',
'app': '/root/sample_apk_debug.apk', 'app': '/root/tmp/sample_apk_debug.apk',
'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) self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)

View file

@ -11,7 +11,7 @@ class MSiteDefaultBrowserAndroidUITests(unittest.TestCase):
'deviceName': 'Android Emulator', 'deviceName': 'Android Emulator',
'appPackage': 'com.android.browser', 'appPackage': 'com.android.browser',
'appActivity': 'com.android.browser.BrowserActivity', '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) self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)