I was able to generate allure json files using command :
behave -f allure_behave.formatter:AllureFormatter -o C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results
Once I run above command, it run all the feature files of behave
and generate required .json files into folder allure-results
Now when I run the command : allure serve C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results
, it generates allure report proper on some temp URL i.e http://192.168.0.102:54603/index.html#suites
Here I want to store this allure HTML report into some specific folder but I don't know how.
I ran below command but that seems to generate the blank report :
X:\seleniumlibrary\allure-2.6.0\bin\allure.bat generate "C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results-o "C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results\\Reports\\LoginReports"
from How to set target folder for Allure Html report in Behave
No comments:
Post a Comment