Runner File

Here we are creating a runner file using the os system method by passing the behave command.

We are using allure formatter command as well along with behave to save the report logs.

Run command to execute runner file along with allure report.

Runner.py

import os

os.system(
 "behave  -f  allure_behave.formatter:AllureFormatter -o /Users/admin/selenium/reports/allureReports")