waldenner / robotframework

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

Using a timeouted keyword with wrong number of arguments causes `FrameworkError` #520

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The executed keyword will fail normally, but the possible keywords
afterwards will fail with FrameworkError. The simplest example
demonstrating this is below.

*** Test Cases ***
Test
    KW  wrong args
    [Teardown]  No Operation

*** Keywords ***
KW  [Timeout]  1 seconds
    No Operation

It's possible to get the test fail outside teardown using `Run Keyword And
Ignore/Expect Error`. In these cases the original syntax error is also
hidden which makes debugging the problem harder. This kind of errors
shouldn't actually be hidden, but that's another issue.

Original issue reported on code.google.com by jpran...@gmail.com on 31 Mar 2010 at 11:34

GoogleCodeExporter commented 9 years ago

Original comment by jpran...@gmail.com on 1 Apr 2010 at 5:29

GoogleCodeExporter commented 9 years ago
Fixed in r2951 and added tests in r2952.

Original comment by jpran...@gmail.com on 13 Apr 2010 at 11:48

GoogleCodeExporter commented 9 years ago
This issue is included in RF 2.5 alpha 1.

Original comment by jussi.ao...@gmail.com on 6 May 2010 at 1:35

GoogleCodeExporter commented 9 years ago

Original comment by pekka.klarck on 6 May 2010 at 4:15