TestProject Forum

How to generate TestProject report locally


I have generated Python code for the test steps which I have created and looking forward to generate the reports locally but I couldn’t.
I have used below steps in my tests, still I couldn’t generate the reports locally.
driver = webdriver.Chrome(report_type=ReportType.LOCAL)
from src.testproject.enums.report_type import ReportType

Could you please help me to get the reports locally ?

change your driver like this → driver = webdriver.Chrome(report_type=ReportType.LOCAL)

go to start run, type %appdata% and locate the app agent reports folder.

your reports should be there C:\Users[YOUR USER]\AppData\Roaming\TestProject\Agent\reports

here you can find more about reports type and how to control it