51Testing软件测试论坛
标题:
appium-python-client中touchAction的perform函数报错
[打印本页]
作者:
joyceQinTing
时间:
2016-1-12 22:31
标题:
appium-python-client中touchAction的perform函数报错
from appium.webdriver.common.touch_action import TouchAction
action=TouchAction(self.driver)
action.press(x=600,y=500).move_to(x=600,y=1000).release().perform()
运行的时候报错,错误信息如下:
action.press(x=600,y=500).move_to(x=600,y=1000).release().perform() File "build\bdist.win-amd64\egg\appium\webdriver\common\touch_action.py", line 94, in perform self._driver.execute(Command.TOUCH_ACTION, params) File "D:\Program Files\Python27\lib\site-packages\selenium-2.48.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 199, in execute response = self.command_executor.execute(driver_command, params) File "D:\Program Files\Python27\lib\site-packages\selenium-2.48.0-py2.7.egg\selenium\webdriver\remote\remote_connection.py", line 390, in execute command_info = self._commands[command]KeyError: 'touchAction'
求大神指教!!!!
作者:
newer0zhk
时间:
2016-7-27 10:23
楼主搞定没,我也碰到相同的问题了
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2