Robot Framework
| 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/robotframework |
| Écrit en | python |
| Formats lus | Robot Framework file format (d) |
| Formats écrits | Robot Framework file format (d) |
| Type | Framework |
| 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
- ↑ « Keyword Driven Testing : la solution pour pérenniser vos tests automatisés », sur Testing Digital, (consulté le )
- ↑ Marc Hage Chahine, « KDT: Keyword Driven Testing », (consulté le )
- ↑ thèse de Pekka Klärck, dont le nom de famille était Laukkanen au moment de la publication le 24 février 2006.
- ↑ Page dédiée à Robot Framework sur Pypi.
- ↑ « Robot Framework - Introduction to Ride - Tutorialspoint », sur www.tutorialspoint.com (consulté le )
- ↑ 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.
- 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:
- 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.
- 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.
- 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.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
