Home > Article > Backend Development > Test automation
Initial Settings
1.1 Activate the virtual environment
In a directory of your choice type
python -m venv venv
And to activate it
venv/Scrpts/Activate.ps1
Download Robot Framework
In the terminal type
pip install robotframework
And with that we will have the latest version of the Robot Framework
Download Selenium
In the terminal type
pip install robotframework-seleniumlibrary
And with that we will have the latest version of the Selenium library
Download Gecko Driver
https://github.com/mozilla/geckodriver/releases
Access the page and download the latest version, once downloaded, take the geckdriver.exe file to the C://Windows
Run an initial test
I created a file that has the extension .robot
The above is the detailed content of Test automation. For more information, please follow other related articles on the PHP Chinese website!