2012/10/25 Trey Duskin <
tr...@maldivica.com>:
>
> I am trying to write my own custom library, and one of my keywords has an
> extra parameter with a default of None, as such:
>
> def my_cool_keyword(self,arg1,arg2,arg3=None):
>
> In my keyword, I am detecting if arg3 is None or something else and handling
> both. The keyword works as expected, but when I try to use it in RIDE, it
> complains that arg3 requires a value (turns the cell red).
This is odd. RIDE definitely should default values and I don't see
anything wrong in your syntax.
Cheers,
.peke
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org