Clever Geek Handbook
📜 ⬆️ ⬇️

Robot framework

Robot Framework - framework for the development of acceptance auto-tests (ATDD). This is a keyword-driven testing framework that provides table formatting. [2]

Robot framework
Type ofSoftware testing framework / Test tool
DeveloperPekka Klärck, Janne Härkönen et al.
Written onPython
operating systemCross platform
First edition
Latest version3.1 (December 7, 2018)
LicenseApache License 2.0
Siterobotframework.org

Content

History

The main ideas for creating the Robot Framework were reflected in the Pekka Klärck Master's thesis [3] in 2005. The first version was developed by Nokia Siemens Networks in the same year. Version 2.0 was released under the open Apache License on June 24, 2008. The framework is written in Python .

Description

Test scripts are written using keyword testing testing techniques and recorded in a table format. These tables can be written as plain text, HTML , separated by tabs of values ​​( TSV ) or reStructuredText ( reST ) [4] in any text editor or using the Robot Integrated Development Environment (RIDE). [5] RIDE simplifies the writing of test scripts and provides features such as auto-completion, syntax highlighting, etc.

Examples

The following test implements the Hello World example:

Test caseActionArgument
DemoLogHello world

It can be written as follows:

  *** Test Cases ***
 Demo
     Log hello world

Log is a built-in keyword that logs the passed parameter into the test report that the Robot Framework generates.

Using SeleniumLibrary, [6] tests are written for web applications - it is also very simple:

Test caseActionArgumentArgument
DemoOpen browserhttp://www.google.comie
Input textid = lst-ibHollywood celebrities
Click buttonGoogle search

This test opens a new Internet Explorer window and searches the Internet.

Add-ons

These libraries are best implemented in Python , but using Java or .Net is also possible.

See also

  • Acceptance testing
  • Keyword-driven testing
  • Data driven testing
  • Test driven development

Notes

  1. ↑ https://code.google.com/p/robotframework/downloads/list
  2. ↑ Robot Framework Homepage (unopened) . Robotframework.org. Date of treatment January 9, 2016.
  3. ↑ Laukkanen, Pekka: “Data-Driven and Keyword-Driven Test Automation Frameworks”, 2006 (unopened) . Eliga.fi. Date of treatment December 8, 2012.
  4. ↑ User Guide 2.8.4 (unspecified) . Robotframework.org. Date of treatment December 3, 2013. Archived March 16, 2014.
  5. ↑ RIDE Homepage (unopened) . Github.com Date of treatment December 8, 2012.
  6. ↑ Robot Selenium Library (neopr.) . Code.google.com. Date of treatment December 8, 2012.

Links

  • Project website
  • An Introduction to Test Automation Design by Lisa Crispin
  • Command Line Testing With The Robot Framework by Alessandro Collino
  • Driving Development with Tests: ATDD and TDD by Elisabeth Hendrickson
  • Writing Maintainable Automated Acceptance Tests by Dale H. Emery
  • Usage of Robot Framework in Automation of Functional Test Regression by Stanislav Stresnjak and Zeljko Hocenski
  • Selenium Meet-Up April 20, 2010 Elisabeth Hendrickson on Robot Framework
  • Robot Framework: Semicolon-free testing by Filip Noetzel


Source - https://ru.wikipedia.org/w/index.php?title=Robot_Framework&oldid=98726331


More articles:

  • Kozenkova, Elena Yuryevna
  • Ridderbush Carl
  • Bormotova
  • Vaskina Gar
  • Ghost (Blog Platform)
  • Belgian Grand Prix 1992
  • Acidosis
  • Take That
  • Durban (Jer)
  • Marx Village Council

All articles

Clever Geek | 2019