Robot Framework

Robot Framework
Description de l'image Robot-framework-logo.png.

Informations
Créateur Pekka Klärck
Développé par Pekka Klärck, Janne Härkönen
Première version 2.0
Dernière version 7.3.2 ()
Dépôt github.com/robotframework/robotframeworkVoir et modifier les données sur Wikidata
Écrit en python
Formats lus Robot Framework file format (d)Voir et modifier les données sur Wikidata
Formats écrits Robot Framework file format (d)Voir et modifier les données sur Wikidata
Type FrameworkVoir et modifier les données sur Wikidata
Licence Licence Apache 2.0
Site web robotframework.org

Robot Framework est un framework de test automatique s'appuyant sur Python, Java ou .NET pour concevoir et exécuter des tests de validation. Il est communément utilisé avec Python.

Histoire

Conçu par Pekka Klärck qui expose l'idée de test par mot-clé[1],[2], base du framework dans sa thèse[3].

Le , la version 2.0 est livrée avec son code source[4].

Description

Une interface dédiée RIDE est disponible pour utiliser au mieux Robot Framework[5],[6].

Exemples

Le cas de test suivant implémente un "hello world":

*** Test Cases ***
Demo
    Log  Hello world

Log est un mot clé réservé qui affiche un texte dans le rapport de test généré.

Avec la bibliothèque SeleniumLibrary (bibliothèque de Robot Framework), écrire des tests pour des applications Web est aisé :

*** Test Cases ***
Demo
    Open Browser  https://www.google.com  ie
    Input Text  id=lst-ib  Hollywood Celebrities
    Click Button  Google Search

Avec ce cas, le test ouvre la page Google dans Internet Explorer et recherche le texte "Hollywood Celebrities" et appuie sur le bouton Chercher.

Articles connexes

Notes et références

  1. « Keyword Driven Testing : la solution pour pérenniser vos tests automatisés », sur Testing Digital, (consulté le )
  2. Marc Hage Chahine, « KDT: Keyword Driven Testing », (consulté le )
  3. thèse de Pekka Klärck, dont le nom de famille était Laukkanen au moment de la publication le 24 février 2006.
  4. Page dédiée à Robot Framework sur Pypi.
  5. « Robot Framework - Introduction to Ride - Tutorialspoint », sur www.tutorialspoint.com (consulté le )
  6. Alexandre GALODE, « Robotframework », sur Developpez.com (consulté le )

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.