51Testing软件测试论坛

标题: Robotframework安装后执行用例报错 [打印本页]

作者: 芷汀    时间: 2019-6-19 14:14
标题: Robotframework安装后执行用例报错
安装网上百度的安装教程安装,安装如下截图所示的软件,先安装python,再是wxpython,再是pycrypto,再是通过robotframework的源码安装,使用setup.py安装的,因为下载的ride无法源码安装,因此使用的pip install robotframework-ride 进行命令安装;但是打开rider后执行一个很简单的用例都报错


Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 300, in OnRun
    command = self._create_command()
  File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 325, in _create_command
    self.get_current_profile(),
  File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 699, in get_current_profile
    return self._test_runner.get_profile(self.choice.GetStringSelection())
  File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunner.py", line 106, in get_profile
    return self.profiles[name]
KeyError: u''
作者: 芷汀    时间: 2019-6-19 17:01
rider问题,重装已解决




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2