Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.9 KB

README.md

File metadata and controls

64 lines (46 loc) · 1.9 KB

Introduction to Robot Framework

Overview

Robot Framework is a generic open source automation framework. It can be used for test automation and robotic process automation (RPA). SeleniumLibrary is one of the many test libraries that can be used with Robot Framework.

Advantage

  • Easy syntax
  • Human-readable keywords
  • Operating system and application independent
  • Supports both Python 2.7 and Python 3.5+
  • Has a rich ecosystem consisting of pre-existing libraries and tools
  • Capabilities can be extended by libraries implemented with Python or Java

Installation

pip install robotframework
pip install --upgrade robotframework-seleniumlibrary
sudo pip install webdrivermanager
sudo webdrivermanager firefox chrome --linkpath /usr/local/bin

More details here and here.

Demo: Standard Usage

  1. Clone following GitHub repository

    git clone https://github.com/robotframework/WebDemo.git
    
  2. Start the demo application

    cd WebDemo/
    python demoapp/server.py
    

    Start demo application

  3. Access the demo application by navigating to 127.0.0.1:7272

    Acces demo app

  4. Trigger automated test execution

    robot login_tests/
    

    Test execution

  5. Access test execution report

    firefox log.html
    

    Log

References