Objective of this tutorial

In this second tutorial, we’ll focus on the standard library called Builtin. This is one of the most important and powerfull library include with RF. This library contains many keywords for manage your test data and variables. It is automatically imported and always available.

So what is Twisted

Twisted is an event-driven network framework written in Python, it supports a large number of protocols such as UDP, TCP, TLS and many other high level protocols like HTTP, SMTP, NNTP, IRC, XMPP/Jabber… An interesting point about Twisted is that high level protocols are fully implemented, which lets the developer experiment with it easily. In fact it is pretty easy to modify the Twisted ssh server implementation for one’s own needs. Most of the time, all a developer will have to do is to overwrite methods in Twisted classes representing a protocol.

A Twisted program is composed of a main loop called the reactor and a callbacks system, when events occur like an incoming connection a callback or a callback chain will be executed to deal with the event.

One part of the Deskolo project is to estimate the electricity consumption by considering only activity indicators of a computer. The solution proposed by CEA-LIST consists in using some Machine Learning techniques which are able to construct a predictive model from a dataset of examples. This dataset is composed of real data coming from one computer which has been equipped with a wattmeter in order to have a real reference. Initially, all features that could be useful have been recorded : cpu and memory load, disk activity, mouse frequency, display information, and so on. The figure bellow shows an example of recorded data including watt value, cpu and memory load, or dpms state.

At Wallix we use RobotFramework to test our products AdminBastion and LogBox in a black box way mainly for exercising the web interface. In this blog post we’ll explain one way of using RobotFramework to test web interfaces either for web site testing or for web application testing.

What is RobotFramework ?

Robot Framework is a generic test automation framework for acceptance testing. It has an easy-to-use tabular test data syntax and utilizes a keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new keywords from existing ones using the same syntax that is used for creating test cases.