Welcome aboard!
> I'm working on web services project and
> required to make robot framework to import test libraries written in
> groovy language. However I'm not able to do that and I'm getting
> following error while trying to import test library
> "ProxyTest.groovy": [ ERROR ] Invalid syntax in file 'c:\users\admin
> \desktop\proxy1\proxy.html' in table 'Setting': Importing test library
> 'ProxyTest' failed: ImportError: No module named ProxyTest
Do I get it right that the library you try to use is implemented with
Groovy? If so, then this unfortunately isn't going to work directly as
only Python and Java (requires Jython) can be used to write libraries
natively. Other languages can be used via these libraries and, because
Groovy runs on JVM, it ought to be possible to write a library with
Java and call Groovy from there. An other idea is using the remote
library interface [1] but that requires writing a Groovy remote server
first.
[1] http://code.google.com/p/robotframework/wiki/RemoteLibrary
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
Good point, thanks for a correction. To import such a library you
should then a) have the library in CLASSPATH and b) take it into use
like `Library | MyLibrary` or `Library | my.package.MyLibrary`. Could
someone with Groovy experience test this?