RelationDigest

Friday, 31 March 2023

[New post] What is Robot Framework

Site logo image vibssingh posted: " HOME Robot Framework is an open-source, test automation framework for Acceptance Testing and Acceptance Test-driven development.The Framework uses the keyword-driven approach where small understandable words (either pre-defined or user-defined" QA Automation Expert

What is Robot Framework

vibssingh

Mar 31

HOME

Robot Framework is an open-source, test automation framework for Acceptance Testing and Acceptance Test-driven development.
The Framework uses the keyword-driven approach where small understandable words (either pre-defined or user-defined) are used for writing the scripts.

RPA is extensively used for Web Application Automation, API Automation, RPA, and Database Testing.

This framework consists of all the industry standard Framework features with minimal coding.

Robot Framework has an easy syntax, utilizing human-readable keywords. Its capabilities can be extended by libraries implemented with Python, Java, or many other programming languages.

Robot Framework is used by Juniper Networks, Cisco, Axon, US Naval Research Laboratory, ZYMR, Zilogic, Testmo, Rocla, and many more.

How to write automated test scripts?

You can easily create automated test scripts with Robot Framework. Keywords are used not only to carry out actions but also to provide assertion mechanisms. They can be subjected to arguments in order to condition their behaviour.

"Open Browser" and "Title Should Be" are two obvious examples of this. There are many test libraries that provide the necessary bits of automation as keywords, so you don't have to code in Python/Java.

 *** Settings *** Documentation    To validate the Login Form Library     SeleniumLibrary  *** Test Cases *** Validate Unsuccessful Login     Open the Browser with URL     Fill the login form     Verify error message is correct   *** Keywords *** Open the Browser with URL     Create Webdriver    Chrome  executable_path=/Vibha_Personal/RobotFramework/drivers/chromedriver_linux64     Go To    https://opensource-demo.orangehrmlive.com/web/index.php/auth/login     Maximize Browser Window     Set Selenium Implicit Wait    5  Fill the login form    Input Text    css:input[name=username]   Admin    Input Password    css:input[name=password]   Admin    Click Button    css:.orangehrm-login-button   Verify error message is correct     ${result}=  Get Text    CSS:.oxd-alert-content-text     Should Be Equal As Strings   ${result}  Invalid credentials 

Features of Robot Framework

  1. It supports Test Automation for different data sets, thereby supporting data-driven testing.
  2. It avoids using large amounts of code and instead employs a behaviour-driven testing approach.
  3. Test cases are written using keywords (pre-defined or user-defined) in a tabular format.
  4. Users have the option of creating their keywords.
  5. It supports the use of Variables, resource files, and Variable files
  6. It can interact with third-party libraries and functions.
  7. It allows tagging of test cases that come in handy while trying to run either of the Smoke Test Cases, Regression Test Cases, System Test Cases, etc.
  8. Excellent HTML Report - It provides detailed reports and logs of the script's execution status, which is very useful if the script fails.
  9. Complete Logging of the Test Execution - The elaborate reports and logs are generated after every build execution.
  10. It supports parallel Execution of tests with Thread Safe
  11. The framework can be integrated with CI/CD Jenkins.

Robot Framework vs. Cucumber

1. The Robot Framework is based on the premise that you can write test cases without having to code because there are numerous libraries available that provide reusable keywords and their underlying code. So, we do need not write code for the business requirements whereas, in the case of Cucumber, we need to write the code for the requirements.

2. Robot covers RPA (Robotic Process Automation); Cucumber doesn't support.

3. Robot Framework has inbuilt extensive logging, which is missing in Cucumber. Cucumber can use a third-party library like Log4J to implement logging.

Comment
Like
Tip icon image You can also reply to this email to leave a comment.

Unsubscribe to no longer receive posts from QA Automation Expert.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
http://qaautomation.expert/2023/03/31/what-is-robot-framework/

WordPress.com and Jetpack Logos

Get the Jetpack app to use Reader anywhere, anytime

Follow your favorite sites, save posts to read later, and get real-time notifications for likes and comments.

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com on Twitter WordPress.com on Facebook WordPress.com on Instagram WordPress.com on YouTube
WordPress.com Logo and Wordmark title=

Learn how to build your website with our video tutorials on YouTube.


Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at March 31, 2023
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Oliver North Was Ahead of His Time

He would have fit perfectly within a MAGA White House. ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏...

  • MACo Seeks Local Representation in Workgroup on School Facilities
    On March 26, 2024, Associate Policy Director Brianna January submitted written t...
  • “Barbie” snubbed with Oscar nominations
    ...
  • [New post] Wiggle Kingdom: April Earnings on Spring Savings!
    Betsi...

Search This Blog

  • Home

About Me

RelationDigest
View my complete profile

Report Abuse

Blog Archive

  • September 2025 (24)
  • August 2025 (54)
  • July 2025 (59)
  • June 2025 (53)
  • May 2025 (47)
  • April 2025 (42)
  • March 2025 (30)
  • February 2025 (27)
  • January 2025 (30)
  • December 2024 (37)
  • November 2024 (31)
  • October 2024 (28)
  • September 2024 (28)
  • August 2024 (2729)
  • July 2024 (3249)
  • June 2024 (3152)
  • May 2024 (3259)
  • April 2024 (3151)
  • March 2024 (3258)
  • February 2024 (3046)
  • January 2024 (3258)
  • December 2023 (3270)
  • November 2023 (3183)
  • October 2023 (3243)
  • September 2023 (3151)
  • August 2023 (3241)
  • July 2023 (3237)
  • June 2023 (3135)
  • May 2023 (3212)
  • April 2023 (3093)
  • March 2023 (3187)
  • February 2023 (2865)
  • January 2023 (3209)
  • December 2022 (3229)
  • November 2022 (3079)
  • October 2022 (3086)
  • September 2022 (2791)
  • August 2022 (2964)
  • July 2022 (3157)
  • June 2022 (2925)
  • May 2022 (2893)
  • April 2022 (3049)
  • March 2022 (2919)
  • February 2022 (2104)
  • January 2022 (2284)
  • December 2021 (2481)
  • November 2021 (3146)
  • October 2021 (1048)
Powered by Blogger.