Multiple Remote Libraries with Robot Platform
According to the example in the Robot Framework, to provide keywords from a remote computer, you need to instantiate RobotRemoteServer
with an instance of the class that implements the keywords
RobotRemoteServer(ExampleRemoteLibrary(), *sys.argv[1:])
What if I have multiple libraries / classes that I want to get remotely? Should I start a new server for each class?
Is the robot platform suitable for automated distributed testing where multiple computers must be running synchronously to test a specific case?
found the following discussion here:
source to share
You are not forced to use RobotRemoteServer
, this is just a simple example provided as a convenience. You can create one server that can use as many classes as you like. The only real requirement is that your XMLRPC server provides methods get_keyword_names
and run_keyword
.
All this is described in the Robot User Manual, in the Remote Library Interface section .
With regard to distributed testing, it is possible that there are several remote servers on different machines, coordinated by one robotic test. I'm not sure what you are asking about.
source to share