Stuck with creating Keyword library using Java in Eclipse and using that JAR file in RIDE.

250 views
Skip to first unread message

thanga roja

unread,
Feb 17, 2017, 3:56:20 AM2/17/17
to robotframe...@googlegroups.com
Hi,

I'm new to ROBOT framework and must create library keyword using java and utilize the JAR files in RIDE editor. I have followed the below steps. But still have confusions in where to start up. Please help me to achieve this.

Steps:

1) Installed Python, wxPython, pybot, RIDE, selenium2library successfully and I'm able to work with RIDE using predefined keywords.
2) For creating own java library, Installed Eclipse Mars, Java, ROBOT IDE manually using the link https://github.com/NitorCreations/RobotFramework-EclipseIDE/wiki/Installation

The question here is,
Anything i'm missing to install?
How to proceed further with Robot Framework coding?

Note: I'm reading many materials in parts to proceed things. But that is confusing me what are the steps to be followed. Is there any single material that i can get having the sequences of steps that need to be followed for my requirements? 

The below links i referred with,

adam.wyp...@gmail.com

unread,
Feb 21, 2017, 2:51:06 AM2/21/17
to robotframework-users
Hi, 

For work with Java inside Python language You need to use Jython interpreter and install in Jython robotframework via PIP.

In case You have further problem with editor I suggest to use RED https://github.com/nokia/RED is eclipse base application.

BR,
-Adam.

Krzysztof Jozefowicz

unread,
Feb 21, 2017, 9:03:29 AM2/21/17
to robotframework-users
With pip&jython,if you have a problems with installation, consider to downgrade pip to this version:
https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz
We had issues in Centos7 which were fixed with pip-1.2.1 for jython
first check output of version from command: jython pip

br K
RED PM

thanga roja

unread,
Feb 22, 2017, 4:12:48 AM2/22/17
to robotframework-users

Thanks a Lot to both of you Adam and RED PM!

I started using RED on this. Thanks again for the solution given.

I have also posted the situation using RED in the below, Kindly check and help me if you can bring out a solution.



Neha Dua

unread,
Jul 15, 2020, 8:20:14 AM7/15/20
to robotframework-users


Hi All,


I had started to build a custom keyword from Java and created a JAR file so that it can be used in RIDE as keyword. Now that I am able to create a JAR file, I am not sure on how to import the JAR to RIDE and use the keywords in a test case.
Can anyone help me on providing the detailed steps on how to import them or a detailed documentation if available could help me understand it better.


Thanks.

 

 

Reply all
Reply to author
Forward
0 new messages