Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Robot Framework Test Automation

You're reading from  Robot Framework Test Automation

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781783283033
Pages 98 pages
Edition 1st Edition
Languages
Author (1):
Sumit Bisht Sumit Bisht
Profile icon Sumit Bisht
Toc

Remote test execution


The Robot Framework also supports the use of remote libraries, where a part of the test can be hosted as a server and can be used by other tests remotely. This is useful in centralizing a part of test at a single place and all the client tests can derive information based on that test itself.

It uses the XML-RPC protocol for the remote interaction and offers various capabilities for distributed testing, such as making different keywords available remotely that can be used to perform some operation over the remote server by different tests. Hence, a method in the remote library can be used to perform some task that can be called as a library keyword in the tests which provides re-usability of code across different tests.

To start off with the remote test, within the test, only the setting table needs to specify the location of the remote test:

Library  Remote  http://localhost:8567

On the server side, the following can be specified:

def strings_should_be_equal(self, str1...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}