PYTEST WITH PAGE OBJECT FRAMEWORK IN PYTHON

  • FOR ALLURE REPORT TO RUN BELOW COMMAND :
    pytest -v -s --alluredir="E:\OnlyForPython\SELENIUM\PYTEST\pytest-page-object-framework\allure_reports" test_case\test_LoginTest.py
    
  • FOR HTML REPORT TO RUN BELOW COMMAND :
    pytest -v -s --html=.\reports\report.html --self-contained-html test_case\test_LoginTest.py