fbpx
Wikipedia

Robot Framework

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It is a keyword-driven testing framework that uses tabular test data syntax.[2]

Robot Framework
Developer(s)Pekka Klärck, Janne Härkönen et al.
Initial release2.0 June 24, 2008 (2008-06-24)
Stable release
6.1.1[1]  / 28 July 2023; 4 months ago (28 July 2023)
Repository
  • github.com/robotframework/robotframework
Written inPython
Operating systemCross-platform
TypeSoftware testing framework / test tool
LicenseApache License 2.0
Websiterobotframework.org

History edit

The basic ideas for Robot Framework were shaped in Pekka Klärck's masters thesis[3] in 2005. The first version was developed at Nokia Networks the same year. Version 2.0 was released as open source software June 24, 2008 and version 3.0.2 was released February 7, 2017.[4]

The framework is written using the Python programming language and has an active community of contributors. It is released under Apache License 2.0 and can be downloaded from robotframework.org.

In 2020 survey it scored 8 among 12 test automation frameworks, with 3 % of respondents using it.[5] In 2021 it had fallen to 18 among 22 with 2 % usage.[6]

Description edit

Test cases are written using a keyword-testing methodology written in a tabular format. These tables can be written in plain text, tab-separated values (TSV), or reStructuredText (reST) formats files[7] in any text editor or using the Robot Integrated Development Environment (RIDE).[8] RIDE simplifies writing test cases by providing framework-specific code completion, syntax highlighting, etc.

Examples edit

The following test case implements a Hello, World! example:

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

Log is a built-in keyword that logs the given parameter to the test report generated by Robot Framework.

With SeleniumLibrary,[9] writing tests for web applications is very easy too:

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

This test opens a new Internet Explorer browser window with Google and performs an Internet search for "Hollywood Celebrities" by pressing the button "Google Search".

With Robot Framework Browser,[10] automation can be done with Chromium, WebKit and Firefox.

*** Settings *** Library Browser *** Test Cases *** Example Test  New Page https://playwright.dev  Get Text h1 == 🎭 Playwright 

Add-ons edit

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

Other languages such as Perl, JavaScript, and PHP can be used for libraries as well, using the documented remote library interface.

See also edit

References edit

  1. ^ "Release 6.1.1". July 28, 2023. Retrieved August 1, 2023.
  2. ^ "Robot Framework Homepage". Robotframework.org. Retrieved January 20, 2019.
  3. ^ "Laukkanen, Pekka: "Data-Driven and Keyword-Driven Test Automation Frameworks", 2006". Eliga.fi. Retrieved March 23, 2018.
  4. ^ "Robot Framework Pypi Page". Robotframework.org. Retrieved March 23, 2018.
  5. ^ "Testing and QA - The State of Developer Ecosystem in 2020 Infographic". JetBrains: Developer Tools for Professionals and Teams. Retrieved October 15, 2021.
  6. ^ "Testing - The State of Developer Ecosystem in 2021 Infographic". JetBrains: Developer Tools for Professionals and Teams. Retrieved October 15, 2021.
  7. ^ "User Guide 3.1.2". Robotframework.org. Retrieved February 14, 2020.
  8. ^ "RIDE Homepage". Github.com. Retrieved February 14, 2020.
  9. ^ "Robot Selenium Library". github.com. Retrieved March 23, 2018.
  10. ^ "Robot Framework Browser". github.com. Retrieved August 5, 2020.

External links edit

  • Official website

robot, framework, this, article, multiple, issues, please, help, improve, discuss, these, issues, talk, page, learn, when, remove, these, template, messages, this, article, includes, list, general, references, lacks, sufficient, corresponding, inline, citation. This article has multiple issues Please help improve it or discuss these issues on the talk page Learn how and when to remove these template messages This article includes a list of general references but it lacks sufficient corresponding inline citations Please help to improve this article by introducing more precise citations December 2012 Learn how and when to remove this template message The topic of this article may not meet Wikipedia s notability guidelines for products and services Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention If notability cannot be shown the article is likely to be merged redirected or deleted Find sources Robot Framework news newspapers books scholar JSTOR December 2012 Learn how and when to remove this template message Learn how and when to remove this template message Robot Framework is a generic test automation framework for acceptance testing and acceptance test driven development ATDD It is a keyword driven testing framework that uses tabular test data syntax 2 Robot FrameworkDeveloper s Pekka Klarck Janne Harkonen et al Initial release2 0 June 24 2008 2008 06 24 Stable release6 1 1 1 28 July 2023 4 months ago 28 July 2023 Repositorygithub wbr com wbr robotframework wbr robotframeworkWritten inPythonOperating systemCross platformTypeSoftware testing framework test toolLicenseApache License 2 0Websiterobotframework wbr org Contents 1 History 2 Description 3 Examples 4 Add ons 5 See also 6 References 7 External linksHistory editThe basic ideas for Robot Framework were shaped in Pekka Klarck s masters thesis 3 in 2005 The first version was developed at Nokia Networks the same year Version 2 0 was released as open source software June 24 2008 and version 3 0 2 was released February 7 2017 4 The framework is written using the Python programming language and has an active community of contributors It is released under Apache License 2 0 and can be downloaded from robotframework org In 2020 survey it scored 8 among 12 test automation frameworks with 3 of respondents using it 5 In 2021 it had fallen to 18 among 22 with 2 usage 6 Description editTest cases are written using a keyword testing methodology written in a tabular format These tables can be written in plain text tab separated values TSV or reStructuredText reST formats files 7 in any text editor or using the Robot Integrated Development Environment RIDE 8 RIDE simplifies writing test cases by providing framework specific code completion syntax highlighting etc Examples editThe following test case implements a Hello World example Test Cases Demo Log Hello world Log is a built in keyword that logs the given parameter to the test report generated by Robot Framework With SeleniumLibrary 9 writing tests for web applications is very easy too Test Cases Demo Open Browser https www google com ie Input Text id lst ib Hollywood Celebrities Click Button Google Search This test opens a new Internet Explorer browser window with Google and performs an Internet search for Hollywood Celebrities by pressing the button Google Search With Robot Framework Browser 10 automation can be done with Chromium WebKit and Firefox Settings Library Browser Test Cases Example Test New Page https playwright dev Get Text h1 PlaywrightAdd ons editThese libraries are best implemented in Python but using Java or NET is also possible Other languages such as Perl JavaScript and PHP can be used for libraries as well using the documented remote library interface See also editAcceptance testing Keyword driven testing Data driven testing Test driven developmentReferences edit Release 6 1 1 July 28 2023 Retrieved August 1 2023 Robot Framework Homepage Robotframework org Retrieved January 20 2019 Laukkanen Pekka Data Driven and Keyword Driven Test Automation Frameworks 2006 Eliga fi Retrieved March 23 2018 Robot Framework Pypi Page Robotframework org Retrieved March 23 2018 Testing and QA The State of Developer Ecosystem in 2020 Infographic JetBrains Developer Tools for Professionals and Teams Retrieved October 15 2021 Testing The State of Developer Ecosystem in 2021 Infographic JetBrains Developer Tools for Professionals and Teams Retrieved October 15 2021 User Guide 3 1 2 Robotframework org Retrieved February 14 2020 RIDE Homepage Github com Retrieved February 14 2020 Robot Selenium Library github com Retrieved March 23 2018 Robot Framework Browser github com Retrieved August 5 2020 External links editOfficial website Retrieved from https en wikipedia org w index php title Robot Framework amp oldid 1080768424, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.