老师的自动化测试环境搭建省了很多功夫

来源:

IMOOC学习

2016-12-31

老师的3-3自动化测试环境搭建省了很多功夫,能否重新录制一个详细的教学视频呢?

写回答

3回答

毫末

2017-04-24

现在卡在哪了?

0
0

毫末

2017-06-20

你这个问题我也没有遇到过,只能去搜一下保存信息,看看有没有人遇到类似问题。

0
0

qq_小熊灬_0

2017-06-20

卡在哪都不重要了。

安装好了之后启动 doctor 出现的状况

Last login: Tue Jun 20 10:24:49 on ttys000

You have mail.

wujianxingdeMacBook-Pro:~ wujianxing$ '/Applications/Appium.app/Contents/Resources/node/bin/node' '/Applications/Appium.app/Contents/Resources/node_modules/appium-doctor/appium-doctor.js'

info AppiumDoctor ### Diagnostic starting ###

info AppiumDoctor  ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer

[Error: Could not detect Mac OS X Version from sw_vers output: '10.12.4

']

wujianxingdeMacBook-Pro:~ wujianxing$ 


运行mooktest 的状况

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/wujianxing/PycharmProjects/untitled/test/mooktest.py

Traceback (most recent call last):

  File "/Users/wujianxing/PycharmProjects/untitled/test/mooktest.py", line 14, in <module>

    driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)

  File "build/bdist.macosx-10.6-intel/egg/appium/webdriver/webdriver.py", line 36, in __init__

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 90, in __init__

    self.start_session(desired_capabilities, browser_profile)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in start_session

    response = self.execute(Command.NEW_SESSION, capabilities)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 234, in execute

    response = self.command_executor.execute(driver_command, params)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 401, in execute

    return self._request(command_info[0], url, body=data)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 471, in _request

    resp = opener.open(request, timeout=self._timeout)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open

    response = self._open(req, data)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open

    '_open', req)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain

    result = func(*args)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1228, in http_open

    return self.do_open(httplib.HTTPConnection, req)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open

    raise URLError(err)

urllib2.URLError: <urlopen error [Errno 61] Connection refused>

Process finished with exit code 1


0
0

安卓自动化测试入门 Python篇

Android测试工程师必备技能,性能 、压力、 接口、 持续集成、自动化脚本

1110 学习 · 336 问题

查看课程