Changed path of target apk
This commit is contained in:
parent
2ef82e3894
commit
63e64d219b
|
@ -56,7 +56,7 @@ Quick Start
|
|||
|
||||
**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
|
||||
|
||||
3. Verify the ip address of docker-machine.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue