Skip to content

API Automation Testing using Robot Framework with Request Library, Python, & POM Design Pattern

Notifications You must be signed in to change notification settings

Fatimazza/RobotAPITest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Robot API Test


✨ API Automation Testing using Robot Framework with Requests Library, Python, & POM Design Pattern ✨

Preparation

What will be used in this project

Item Source
Editor VS Code (https://code.visualstudio.com/download)
Package Manager PIP (https://pip.pypa.io/en/stable/getting-started/)
UI Test Tools Robot Framework with Python (https://robotframework.org/#getting-started)
Requests Library (https://docs.robotframework.org/docs/different_libraries/requests)
Design Pattern POM or Page Object Model
Test Reporter Robot Framework with Python (https://robotframework.org/#getting-started)
Run on Terminal or Command Prompt

Pre-Requisite Installation

Install VS Code Editor, Python, and PIP

To check whether you already installed Python & PIP

python --version
python -m pip --version

Testing Tools Installation

Install Robot Framework

python -m pip install robotframework

Install Request

python -m pip install requests

Install Robot Framework Request

pip install robotframework-requests

Robot Framework Jsonlibrary

pip install robotframework-jsonlibrary

Setting up Project

Clone

👉 Clone this Repository through Terminal or Command Prompt

Open the Project on Editor

Open this Automation Project using VS Code Editor.

Run the Automation Project

Change to Project directory on Terminal or Command Prompt

cd RobotAPITest

Run All Tests on Terminal

robot --outputdir output/ .

Run Specific Test

robot --outputdir output/ step/Suite01_GetRequest.robot

Test Execution HTML Report

✅ Report available on RobotAPITest/output/report.html

About

API Automation Testing using Robot Framework with Request Library, Python, & POM Design Pattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published