2009/12/11 Thomas Jaspers <
jas...@codecentric.de>:
>
> using pybot instead of jybot was a really good idea ... then it
> works.
> I was somehow starting this writing my own Selenium keywords in Java
> and thus I was using jybot. When I then switched to the Robot Library
> I kept it like that ... stupid me ;).
It's good that using Python instead of Jython solved the problem, but
it also means there's a Unicode bug either in the SeleniumLibrary or
in the core framework when using Jython. It would be nice if you had
time to investigate this a bit further and create and a simple example
demonstrating the problem.
> That really helps me a lot as it means that it works ok ... it is of course
> not so nice, that I cannot mix this now with additional keywords in Java ...
Although I prefer running tests on Python because it's faster and
there should be no issues with Unicode, being able to use either is
better because then you can included a library that requires
Java/Jython. This is definitely a good enough reason to fix the
original issue.
> maybe it is time to take a closer look at Python :-).
That might be nevertheless be a good idea. Python is definitely nicer
for scripting tasks and for creating simple test libraries than Java
and at least I'm happy using it for building bigger applications too.
A good place to start is our tutorial that covers the issues most
important when creating test libraries and has references to other
material:
http://code.google.com/p/robotframework/wiki/PythonTutorial
Cheers,
.peke