I have a robot framework testcase file with the name 'mytestsuite.txt'. It has few test cases..I can run this suite using,

pybot mytestsuite.txt

But when I tried to execute it using --suite option,

pybot --suite mytestsuite.txt

getting the error ,

[ ERROR ] Expected at least 1 argument, got 0.

Is anything wrong in this ,or anyone can suggest how to execute the testsuite file.

Thanks in advance.

有帮助吗?

解决方案

pybot --suite mytestsuite /path/to/mytestuite-dir So drop the .txt and put path to the directory where the suite is at the end of the command.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top