Skip to content

sanogotech/robotframeworkStarterGuide

Repository files navigation

robotframeworkStarterGuide

Robot Framework Starter Guide for Test Automation and RPA


Robot Framework

Robot Framework

Robot Framework keyword-driven is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior driven development (BDD) and robotic process automation (RPA).

Robot Framework keyword-driven is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior driven development (BDD) and robotic process automation (RPA).

Uses Cases Robot Framework

RobotFramework permet de couvrir des tests

  • Les Tests Fonctionnel avec Selenium
  • Les Test Intégration REST API : https://pypi.org/project/RESTinstance/
  • Full external Library (Desktop, SAP, Database, ect ..)
  • Syntax Basic linear or Tabular
  • Test Remote with SSH, FTP
  • Test with Mock Server Data
  • Test Data Driven(tabular data) or Test Behavior Driven (Given, When, Then)
  • Tags to select Tests
  • La Recette en fournissant un rapport d’exécution des tests livrable au client
  • La Non Régression reproductible de façon journalière à la mode intégration continue
  • La Couverture de code si l’outillage adéquat est réalisé (avec cobertura par exemple)
  • Les Tests de Performance avec Jmeter

Search Libraries


https://pypi.org/search/?q=%22Robot+Framework+library++%22++REST&o=

Docs

Install Tools:

   ride.py

Robot Framework : Validate Installations

At command line type to verify tool installation:

git version
python --version
robot --version
pip --version-
chromedriver --version

Robocop tools : robot file quality

$ pip install robotframework-robocop
robocop

Install and Run Test

python -m venv venv
source venv/bin/activate or venv/Scripts/activate.bat

pip install --upgrade RESTinstance

robot --outputdir results sampleprojetride/

Table of Contents

  1. Robot Framework
  2. Keys Concepts
  3. Libraries

RobotFramework

A Todo

KeysConcepts

_Robot Framework

Concept1 : This simply means that Spring Boot has its own configurations, application structures, dependencies, Servers and other environment configuration available inside its realm. Thus, to say Spring Boot has its own opinions about an application development environment. For example, most of the Java-based web applications use tomcat server. While working on Spring Boot you need not use any server, because Spring Boot already has an embedded tomcat container.

Concepts2 : What it means is that you don’t need to use any other third-party library or server to run or develop a spring boot application, it already has all of it.

Libraries

REST : https://pypi.org/project/RESTinstance/

pip install --upgrade RESTinstance

Selenium : https://robotframework.org/SeleniumLibrary/

pip install selenium robotframework-selenium2library webdrivermanager
set PATH=%PATH%;C:\TOOLS\seleniumdriver\
chromedriver --version
https://www.blazemeter.com/blog/robot-framework
https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html
https://www.browserstack.com/guide/robot-framework-and-selenium-tutorial

Contributors

Souleymane SANOGO