Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Robot Framework Test Automation

You're reading from   Robot Framework Test Automation Create test suites and automated acceptance tests from scratch

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781783283033
Length 98 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sumit Bisht Sumit Bisht
Author Profile Icon Sumit Bisht
Sumit Bisht
Arrow right icon
View More author details
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 $19.99/month. Cancel anytime
Banner background image