Steps to download and run the Selenium with Python Programs
Step 1: Download and install python 3.x.x
Step 2: Download and install Pycharm IDE
Step 2A: Install the following plugins , then add these plugis to your project in Pycharm using: File-Setting->Project: xxx-> Python Intrepreter
- Selenium
- openpyxl
- seletool
- pytest
- pytest-html
- html-testRunner
- Allure Report
In the windows command line navigate to python installation folder, then run the command:- pip install -U selenium
In the windows command line navigate to python installation folder, then run the command:- pip install openpyxl
In the windows command line navigate to python installation folder, then run the command:- pip install seletools
In the windows command line navigate to python installation folder, then run the command:- pip3 install pytest
In the windows command line navigate to python installation folder, then run the command:- pip install pytest-html
In the windows command line navigate to python installation folder, then run the command:- pip install html-testRunner
Downlod and extarct the zip file and save in some folder to support the allure report generation process.
Step 3: Download the programs(Zip file) using below link, extract(UnZip) the file.
Download Selenium with Python Programs
Step 4: Open the project folder(pythonBasics) in Pycharm, then you can view and run the programs using pycharm IDE.
Setp 4A : To open the prject, Go to:- File-> Open-> Select the programs Folder (pythonBasics) , Click ok
Setp 4B : Select the Python Interpreter, Go to:- File->Settings->Project:Python Basics-> Python Interpreter -> Select Python 3.10.X or above , also select all the plugins given above, then click ok
Now programs are ready for run.
No comments:
Post a Comment