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

New issue 827 by [email protected]: Keyword ignored if getting documentation for it results in exception
http://code.google.com/p/robotframework/issues/detail?id=827

Tested against RF 2.5.7. See this thread for issue details & background:

http://groups.google.com/group/robotframework-users/browse_thread/thread/8550444b1682411d/9b940ae59ccadc02?lnk=gst&q=remote+stop#9b940ae59ccadc02

Not sure if this affects dynamic interface keyword libraries or even the static one. But found for dynamic via remote library interface.

I haven't had time yet to look at RF source code to point out the area in code for the bug, but it appears that for remote library, RF will fetch list of keyword names then (I believe) for each one try to fetch documentation for it. If the documentation call returns with some exception from library, the keyword in question is ignored and thus not usable within RF.

This affects both RF and libdoc.py. For RF, keyword "does not exist" when trying to use it. For libdoc.py, the keyword is not documented.

I think a nicer (though not sure if better) solution would be to allow the keyword anyways but leave documentation as blank if the call to get documentation threw an exception from the library.

Reply via email to