我试图执行现有的SwingLibrary演示中https://github.com/robotframework/SwingLibrary/wiki/SwingLibrary-Demo如何将SwingLibrary插件添加到RobotFramework?
设置的一切行动上(Jython,RobotFramework,演示应用程序)后,我可以运行下面的命令:
run_demo.py startapp
,和它的作品(演示应用程序启动)。
现在,如果我尝试运行抽样检验,它失败:
run_demo.py example.txt
[ ERROR ] Error in file '/home/user1/python-scripts/gui_automation/sample-text.txt': Non-existing setting 'Library SwingLibrary'.
[ ERROR ] Error in file '/home/user1/python-scripts/gui_automation/sample-text.txt': Non-existing setting 'Suite Setup Start Test Application'.
==============================================================================
Sample-Text
==============================================================================
Test Add Todo Item | FAIL |
No keyword with name 'Insert Into Text Field description ${arg}' found.
------------------------------------------------------------------------------
Test Delete Todo Item | FAIL |
No keyword with name 'Insert Into Text Field description ${arg}' found.
------------------------------------------------------------------------------
Sample-Text | FAIL |
2 critical tests, 0 passed, 2 failed
2 tests total, 0 passed, 2 failed
==============================================================================
Output: /home/user1/python-scripts/gui_automation/results/output.xml
Log: /home/user1/python-scripts/gui_automation/results/log.html
Report: /home/user1/python-scripts/gui_automation/results/report.html
我怀疑它不能找到swinglibrary.jar
,因此我的插件安装可能搞砸。
任何想法?