Start Time: 2019-06-12 20:04:34
Duration: 0:00:04.112054
Status: Error 1
用例执行情况:
| Test Group/Test case | Count | Pass | Fail | Error | View |
| MyTestCase | 1 | 0 | 0 | 1 | Detail |
test_something |
error
ft1.1: Traceback (most recent call last):
File "/Users/pingzhang/Downloads/study/auto-test/main/root.py", line 19, in setUp
self.driver = webdriver.Remote("http://localhost:4723/wd/hub", caps)
File "/usr/local/lib/python3.7/site-packages/appium/webdriver/webdriver.py", line 142, in __init__
proxy
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/site-packages/appium/webdriver/webdriver.py", line 217, in start_session
response = self.execute(RemoteCommand.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/pingzhang/Library/Android/sdk/platform-tools/adb -P 5037 -s LJCYLN75BMY5AMIB shell pm clear com.picahealth.yunque' exited with code 1'; Stderr: 'Error: java.lang.SecurityException: PID 7750 does not have permission android.permission.CLEAR_APP_USER_DATA to clear data of package com.picahealth.yunque'; Code: '1'
|
||||
| Total | 1 | 0 | 0 | 1 | |