✨ API Automation Testing using Robot Framework with Requests Library, Python, & POM Design Pattern ✨
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 |
Install VS Code Editor, Python, and PIP
To check whether you already installed Python & PIP
python --version
python -m pip --version
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
👉 Clone this Repository through Terminal or Command Prompt
Open this Automation Project using VS Code Editor.
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
✅ Report available on RobotAPITest/output/report.html