Skip to content

kbelotserkovets/Python-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruction for running test

Clone repository

Use this command

git clone https://github.com/Ksen4ik/Python-Project.git

Notes

  • Please, make sure your Chrome browser's version is 74
  • Chromedriver's version in the repository is 74. 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.

Install Python

Here is the link for install Python 3.6

Install pip

Use pip to run our commands.

Install and run venv

  • Setup venv for run our files and activate it via command
source venv/bin/activate

Set python path

  • After "$PYTHONPATH=..." you should set path to downloaded project
export PYTHONPATH="$PYTHONPATH:/home/kbelotserkovets/Documents/Python-Project/"

Install required packages

  • Open Terminal\cmd from Python-Project folder
  • Type:
pip install -r requirements.txt

System variables

  • 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

Run via IDE

  • Open test_login_page.py file in any JetBrains IDE. In my case, I'm using PyCharm
  • Run this file by clicking Shift + F10

Run via Terminal from Python-Project (Linux/Mac)

python test_login_page.py 

Run via cmd from Python-Project (Windows)

python3 test_login_page.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages