Open VijilPatodi opened 5 years ago
Hi! Sorry for the late answer.
allure-docx
needs the folder where you have the .json
files, not the folder where it generates the html
. I believe this is the problem you are facing.
The folder with the .json
files are the same that are used by allure to generate the html, for instance with the command allure generate <folder-with-json>
.
I have this same issue in my W10 machine using allure-results folder. My files are generated by Allure integration with WebdriverIO and inside the folder, there are json files along with an image and a XML. I manually removed both non-json files but allure-docx is still failing with the same error mentioned above: UserWarning: No test result files were found!
@Sup3rGeo In my project i am using allure as an reporting tool, now i want to extract the results into docx or pdf. My report is generated at location myproject\target\site\allure-maven-plugin\index.html through automation execution, and I have download this utility from release location and place at some location in c drive and trying to hit the command allure-docx.exe --detail-level full myproject\target\site\allure-maven-plugin C:\MyWork\abc.docx. Docx file is updated but only with title "Allure Report" and nothing is displayed in that however i can see few exception in console too , please find attachment for the details. one more thing i have put cairo.dll at same place where i have executable file. Is there any proper documentation available for this it will really help me a lot.