Use this command
git clone https://github.com/Ksen4ik/Python-Project.git
- Please, make sure your
Chrome browser's version is 74
Chromedriver's version
in the repository is74
. If you're using another version of Chrome, here is the link for download another chromedriver, according to your Chrome browser's version and just replace file.
Here is the link for install Python 3.6
Use pip to run our commands.
- Setup venv for run our files and activate it via command
source venv/bin/activate
- After
"$PYTHONPATH=..."
you should set path to downloaded project
export PYTHONPATH="$PYTHONPATH:/home/kbelotserkovets/Documents/Python-Project/"
- Open Terminal\cmd from
Python-Project
folder - Type:
pip install -r requirements.txt
- Ask PM to create valid user in this project and get credentials for setup system variables
- Run this command and instead of "a" input your login and instead of "b" input your password
export username=a
export password=b
- Open
test_login_page.py
file in any JetBrains IDE. In my case, I'm using PyCharm - Run this file by clicking
Shift + F10
python test_login_page.py
python3 test_login_page.py