精彩啊~ 方法很重要,深有体会~
说到点上了,像楼主求解
两个人分配不同的模块,每个人同时测试 android 和 ios 两个端
更容易发现问题
回来写下解决,让开发修改下外部可调用的权限就好。
#5 楼 @mystique
去掉勾选 launch avd 就可以了
有新的 bug 了:
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity)","origValue":"Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity"},"sessionId":null}
就酱紫的
from appium import webdriver
desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '6.0'
desired_caps['deviceName'] = 'Android Emulator'
desired_caps['appPackage'] = 'com.android.calculator2'
desired_caps['appActivity'] = '.Calculator'
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
ddriver.find_element_by_id('com.android.calculator2:id/digit9').click()
请问解决了么
windows 通过 npm install -g appium 安装的,怎么打开 inspector 呢
命令行安装的 appium,怎么启动 GUI 工具呢,还是要再安装 Windows GUI 工具呢,怎么启动那个 inspector 的界面呢
楼主,怎么好的呢。
mark 先
学起来
填写啦,抽到我,就去买个提莫的皮肤,哼。
学习,前进,2016.
我运行了 appium-doctor 显示结果有错误: ADB could not be found at F:\Android\android-sdk\platform-tools\adb.exe
肿么破