python3.7 automation test framework(unittest + BeautifulReport+ pytest + pytest-html + selenium)
cd path/to/pyAutomationTesting
python -m venv venv
venv\Scripts\activate.bat
(venv) path/to/pyAutomationTesting>pip install -r requirements.txt
cd path/to/pyAutomationTesting
venv\Scripts\activate.bat
(venv) path/to/pyAutomationTesting>python main.py
- just add your unittest testcase to cases_unittest dir
- just add your pytest testcase to cases_pytest dir
- log and report was write in path/to/pyAutomationTesting/result/ if you not set
- unittest report located at: path/to/pyAutomationTesting/result/unittest_report.html
- pytest report located at: path/to/pyAutomationTesting/result/pytest_report.html
- IE WebDriver: IEDriverServer.exe
- Firefox WebDriver: geckodriver.exe
- Chrome WebDriver: chromedriver.exe
Extract WebDriver excutable file to C:\WebDriver and then add C:\WebDriver into %PATH%