|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Appium版本:1.10.1
Android版本:真机 7.0 (华为)
奇怪的是,执行单个case的时候不会出现问题,每个case都可以通过,但是组合成一个suite按次序执行时,case总是成功一个失败一个(偶数位的case都会在固定的位置失败),下面附上详细的报错信息,麻烦各位老司机不吝赐教
ft9.1: Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 872, in emit
stream.write(ufs % msg)
LookupError: unknown encoding: cp65001
Logged from file common_fun.py, line 50
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 872, in emit
stream.write(ufs % msg)
LookupError: unknown encoding: cp65001
Logged from file common_fun.py, line 50
Traceback (most recent call last):
File "E:\AppiumCode\nanhai_project\test_case\test_9changeLoginPassword.py", line 17, in test_change_login_password01
l.login_password_change_action(data[0], data[1], data[1])
File "E:\AppiumCode\nanhai_project\businessView\loginPasswordChangeView.py", line 24, in login_password_change_action
self.change_login_password_page(password, changePassword)
File "E:\AppiumCode\nanhai_project\businessView\loginPasswordChangeView.py", line 41, in change_login_password_page
self.login_pwd_by_coordinate(changePassword, width, height)
File "E:\AppiumCode\nanhai_project\common\common_fun.py", line 327, in login_pwd_by_coordinate
self.num_8(width, height)
File "E:\AppiumCode\nanhai_project\common\common_fun.py", line 599, in num_8
self.driver.tap([(x8 * width, y8 * height)])
File "C:\Python27\lib\site-packages\appium\webdriver\webdriver.py", line 510, in tap
action.perform()
File "C:\Python27\lib\site-packages\appium\webdriver\common\touch_action.py", line 96, in perform
self._driver.execute(Command.TOUCH_ACTION, params)
File "C:\Python27\lib\site-packages\selenium-3.141.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Python27\lib\site-packages\appium\webdriver\errorhandler.py", line 29, in check_response
raise wde
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
|
|