Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1240 by [email protected]: pybot --runmode DryRun does not handle Run Keyword If new arguments
http://code.google.com/p/robotframework/issues/detail?id=1240

When executing pybot by this command: pybot --runmode DryRun sometestcase.txt an error is seen.

If the sometestcase.txt contains keyword that use the Run Keyword If with ELSE IF argument, then the execution fails. See an example in below:

Run Keyword If    '${status}' == 'PASS'    do something
...    ELSE IF    '${status}' == 'FAIL'    do something else

Then this error is seen:
Setup failed:
Keyword 'do something' expected 0 arguments, got 3.

Used: Robot Framework 2.7.4 (Python 2.7.3 on linux2)

Reply via email to