문제

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