File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,25 @@ using ``stop`` argument on the command line or by using the
243243``stop_remote_server `` function programmatically. Testing and stopping should
244244work also with other Robot Framework remote server implementations.
245245
246+ Serving Multiple Libraries
247+ -------
248+
249+ In many cases it maybe be desirable to serve multiple libraries from a single
250+ remote server. The libraries argument not only accepts a single class type, but
251+ also can accept a list of classes from which to serve keywords. For example:
252+
253+ .. sourcecode :: python
254+ class KeywordLib1:
255+ def Keyword1(self):
256+ ...
257+
258+ class KeywordLib2:
259+ def Keyword2(self):
260+ ...
261+
262+ if __name__ == "__main__":
263+ RobotRemoteServer([KeywordLib1(), KeywordLib2()])
264+
246265Example
247266-------
248267
You can’t perform that action at this time.
0 commit comments