Plan du site  
pixel
pixel

Articles - Étudiants SUPINFO

Test Automation with Robot Framework

Par Nezha EL GOURII Publié le 25/10/2016 à 14:27:33 Noter cet article:
(0 votes)
Avis favorable du comité de lecture

Functional testing of an application are paramount, this is a critical phase in which it is ensured that the final product matches the customer's expectations, which is why the preparation for this phase is too important.

Manual tests are necessary and will always be necessary in computers. Nevertheless, many relatively basic and repetitive tests should be performed regularly during the life cycle of software, which makes them tedious manual execution at a very low ROI.

Moreover, in certain contexts including web projects, tests should be performed on different platforms, different browsers in different versions. For all these reasons, it is often useful to automate certain functional tests.

What is an automated test?

An automated test is one whose implementation does not require the intervention of a human.

There are many tools and automated testing Framework. Among them are particularly:

Framework generic test automation, open source since 2008, based on the Python language for the rapid writing of test sets and reports, both explicit and complete in two different modes Verbose or python.

Established in 2005, following a thesis of Pekka Klärck, the first version was published by Nokia.

Born to offer a high-level language for functional testers and have the ability to write acceptance tests before product delivery, it offers the following features:

  • Write the type of tests "Test Driven Behavior"

  • Write the type of tests "Data Test Driven"

  • Test Management with defaults variable

  • Provision of html test report

  • Ability to create its own library

  • System Management Library (file creation, directory ....)

  • Possibility tree to classify tests

  • Ability to associate actions start and end of test (prerequisite, post test)

  • Tests Format: html, csv or text.

Principale :

  1. Basic keywords correspond to united actions (eg "enter a string in the login field," "enter a string in the password field", "click login" ...)

  2. It can create keywords from other keywords, such as a login key word corresponds to the sequence "enter a string in the login field" + "enter a string in the field password "+" click login ".

  3. We can create a test scenario from multiple keywords (created or base) that follow.

How it works ?

He is able to interface with third-party libraries (Personal or standard), and thus be able to automate several solutions namely websites.

These libraries are written in the Python language which allows them easy interaction with the core of the framework.

General structure

An automated test is based on the functional inputs namely a test case, it is automated through standard libraries, third or even personal. Thus generating a report and log in HTML format.

Libraries

Publishers

The official editor is robotframwork RIDE IDE, complete enough for features that offer and quite simple.

Several IDE feature Robotframework plugin.

Robot Framework advantage in the build of an application

  • Fast and easy

  • Integrates without a unit test strategy

  • Powerful and robust tool as it is based on python

Conclusion

To summarize this is a Framework that is used to verify user scenarios, to avoid regressions but also lead the development, known enough in the world of "testing agile ".

A propos de SUPINFO | Contacts & adresses | Enseigner à SUPINFO | Presse | Conditions d'utilisation & Copyright | Respect de la vie privée | Investir
Logo de la société Cisco, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société IBM, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Sun-Oracle, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Apple, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Sybase, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Novell, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Intel, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Accenture, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société SAP, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Prometric, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Toeic, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo du IT Academy Program par Microsoft, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management

SUPINFO International University
Ecole d'Informatique - IT School
École Supérieure d'Informatique de Paris, leader en France
La Grande Ecole de l'informatique, du numérique et du management
Fondée en 1965, reconnue par l'État. Titre Bac+5 certifié au niveau I.
SUPINFO International University is globally operated by EDUCINVEST Belgium - Avenue Louise, 534 - 1050 Brussels