Appium robotframework 执行脚本时报错 File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplug in.py", line 249, in OnRun

yszj · 2019年03月06日 · 1590 次阅读

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robotide\ui\actiontriggers.py", line 377,
in call
action.act(event)
File "C:\Python27\lib\site-packages\robotide\action\action.py", line 86, in ac
t
self.action(event)
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplug
in.py", line 249, in OnRun
command = self._create_command()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplug
in.py", line 267, in _create_command
self.get_current_profile(),
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplug
in.py", line 558, 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 87, in get_profile
return self.profiles[name]
KeyError: u''

解决方案:点击 run,然后只需要把 Run 界面的 Execution Profile 选择为 pybot

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册