我无法运行任何命令。我下载了机器人框架jar文件并开始测试:
java -jar /home/robotFramework/robotframework-2.7.7.jar tests.tsv
我的测试文件:
Library OperatingSystem
*Test Case*
Insert [Tags] test1
[Timeout] 4 minutes
Run ls -l
有什么问题?
==============================================================================
Tests
==============================================================================
Insert | FAIL |
No keyword with name 'Run' found.
------------------------------------------------------------------------------
Tests | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
答案 0 :(得分:2)
您忘记将*Setting*
标头添加到tsv文件中。这应该如何开始:
*Setting*
Library OperatingSystem
答案 1 :(得分:0)
我认为测试文件的缩进是不正确的。