waldenner / robotframework

Automatically exported from code.google.com/p/robotframework
Apache License 2.0
0 stars 0 forks source link

pybot.bat/rebot.bat #525

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
New user here! After typing robot_postinstall.py output is as indicated in 
user guide. I tried to type C:\Python26\Scripts\rebot.bat to execute the file 
and it returns an [ERROR] Expected at least 1 argument, got 0.

I expected that upon typing in rebot.bat that the Robot Framework will run.

Python version:2.6.4
OS: Windows Vista
Robot Framework 2.1.3 (Python 2.6.4 on win32)

Original issue reported on code.google.com by pepper.s...@gmail.com on 5 Apr 2010 at 10:53

GoogleCodeExporter commented 9 years ago
The error you got simply means that you need to provide an argument to rebot. 
Notice,
though, that the rebot script is used for generating/combining reports and 
typically
it's enough to use pybot or jybot scripts that execute tests on Python or Jython
interpreters and also generate reports/logs automatically.

For more information see the Executing Test Cases chapter form the User Guide:
http://robotframework.googlecode.com/svn/tags/robotframework-2.1.3/doc/userguide
/RobotFrameworkUserGuide.html#executing-test-cases

Do you have ideas how to enhance the documentation to make this more clear? 
Otherwise
this issue can be closed.

Original comment by pekka.klarck on 5 Apr 2010 at 6:46

GoogleCodeExporter commented 9 years ago
Thank you. I'm good. I just missed that part of the documentation. 

Original comment by pepper.s...@gmail.com on 6 Apr 2010 at 9:56

GoogleCodeExporter commented 9 years ago

Original comment by pekka.klarck on 6 Apr 2010 at 11:48