-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support serving Robot Framework Keywords #42
Comments
What benefits would this enhancement bring? |
Hi Dear Pekka,
One of the benefits of the Robot Framework Remote Server for me is that I
can register some of the common (shared) libraries among all of my test
projects on the server and tell all clients to get those from the server;
it eliminates repetition of shared libraries. I also have shared Robot
keywords which I prefer to serve them on a Robot Framework Remote Server
like what I'm doing for my Python libraries.
It may first seem that I can implement those Robot keywords in Python and
register them in the Robot Framework Remote Server, but the requirement is
reasonable when it comes to the keywords which use Selenium2Library
keywords. It's almost impossible to pass web-driver object between Robot
Framework keywords and Python classes/methods; if I want to have some
common keywords using Selenium2Library, I can't write them in Python in
order to serve them on a remote server. I have to implement (copy/paste)
them in each project.
Other than Selenium2Library, I am currently using a lot of Robot Framework
pre-defined keywords in my own written keywords and I don't want to
implement them in Python again, if I have to re-write them in Python to be
able to serve them in remote server.
…On Mon, Sep 18, 2017 at 1:40 PM, Pekka Klärck ***@***.***> wrote:
What benefits would this enhancement bring?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATBbleMB3KLqhGIjykm6zcsClZggVlZaks5sjjOIgaJpZM4PaCxj>
.
|
I understand benefits of reusable resource files. Could you clarify what benefits where would be having them on the remote server side and not where Robot actually is running? Local resource files can use remote keywords without any problems. If the motivation is to have those higher level keywords in a single place and avoid the need to distribute them to everyone, I would say that's not a very good reason. It's trivial to get resources and other similar data to everyone using version control system. |
I could also use this improvement. I am working on a project where we have many Robot resource files with many keywords. These keywords are used in the testcases. |
Server provides robot framework keywords written in ".robot" files.
The text was updated successfully, but these errors were encountered: