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.
Running a testsuite in Robotframework
-
01-10-2022 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow