API : It allows two applications to communicate with one another to access data
Information required to test API :
End Point Url
Headers
Content Type
Request (JSON / XML )
Response
Method (Get/Post/Delete) https://www.w3schools.com/tags/ref_httpmethods.asp
Postman example
Robot framework:
http://robotframework.org/robotframework/2.9b2/RobotFrameworkUserGuide.html
https://robotframework.org/#libraries
Installation: https://youtu.be/8h5knh2jLCA
Step 1: Install Python
Visit the following website to download Python software.
https://www.python.org/downloads/
Double-click the Python software to begin the installation.
Set environment Variable (Environment variables help programs know what directory to
install files in, where to store temporary files, and where to find user profile settings)
Verify that environment variable is setup correctly
To check if Python is correctly installed, open the command prompt, and run the version
command.
python --version
Step 2: Download and Install PyCharm community edition
https://www.jetbrains.com/pycharm/download/#section=windows
Step3 : Create Virtual Environment (A virtual environment is a tool that helps to keep
dependencies required by different projects separate by creating isolated python virtual
environments for them)
OR
Go to File > New Project
Select Create
Step 4 : Install robot framework and other libraries
Open PyCharm
Select Terminal from footer
Execute the following commands:
python -m pip install robotframework-requests
pip install robotframework-jsonlibrary==0.3.1
Use command “pip list” to see installed packages. pip is the package installer for Python