-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to generate pdf report for selenium java maven testng framework #44
Comments
It seems some of your test results don't have a status (e.g. successful, failed), which seems rather odd. The library was only tested with java junit and python pytest, so this might have to do with TestNG, but I cannot be sure. If you could provide the json test rusult data I could look over it. |
Hi thanks for letting me know iam sharing zip file of allure results. Plz
help out me thanks for your help
…On Tue, Sep 19, 2023, 5:53 PM Bjarne Scheimann ***@***.***> wrote:
It seems some of your test results don't have a status (e.g. successful,
failed), which seems rather odd. The library was only tested with java
junit and python pytest, so this might have to do with TestNG, but I cannot
be sure. If you could provide the json test rusult data I could look over
it.
—
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3AYQBU3JCXERKCXYAMXL23X3GFE5ANCNFSM6AAAAAA4WKVOPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Alright. I cannot see any shared files though. |
Can u try now Im forwarding zip file can u check your gmail once
…On Mon, Oct 2, 2023, 7:59 PM Bjarne Scheimann ***@***.***> wrote:
Alright. I cannot see any shared files though.
—
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3AYQBWU5CGLQZZ7IOM2TX3X5LFWJAVCNFSM6AAAAAA4WKVOP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGEZDQMRZHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It seems the "testCaseId" that is used is a parameter usually only used by allure test ops (see https://allurereport.org/docs/how-it-works/test-result-file/) and probably not mandatory. I exchanged it for "fullName", which should work. Please checkout and use https://github.com/bjarnesc/allure-docx/ while the merge request is being processed, as I do not have access rights for this repo. Please give feedback if it does. |
There is no latest version v0.4.1 can u help out where can I find? |
Simply install with pip from source
|
PDF: It is Generating in word Doc file and pdf format but pdf is not opening and screenshots are not displaying in word Doc can u check from your end also I have forwarded for u allure results zip Plz check and let me know thanks for helping out me Appreciate u r effort. First one is Word Doc File and Second One is Pdf File |
This seems to be because your attachment files do not have a proper type ending. Rename them to .png files (and update the attachement path inside the tests obviously). Then it should work. This is a problem with Word as it does not seem to be able to process attachements without type ending. |
When iam generating allure results in that screen shot has file type and it is not having .png format and .png format is not generating in allure-results folder can u help on it thanks |
I really tried but I cannot understand your sentence. Please try to use some grammar that makes sense. |
I am generating allure results in that screenshot, but the file type is not.png, and the.png format is not creating in the allure-results folder. Could you please assist? Thank you. |
C:\Users\niranjan.pa\Downloads>allure-docx --pdf C:\WF\AllurereportingSeleniumTestNG\AllurereportingSeleniumTestNG\AllurereportingSeleniumTestNG\allure-results allure.docx
Template: C:\Users\niranjan.pa\AppData\Local\Temp_MEI222082\template.docx
Traceback (most recent call last):
File "allure_docx\commandline.py", line 74, in
File "lib\site-packages\click\core.py", line 722, in call
File "lib\site-packages\click\core.py", line 697, in main
File "lib\site-packages\click\core.py", line 895, in invoke
File "lib\site-packages\click\core.py", line 535, in invoke
File "allure_docx\commandline.py", line 51, in main
File "allure_docx\process.py", line 300, in run
File "allure_docx\process.py", line 95, in build_data
KeyError: 'status'
[16892] Failed to execute script commandline
can u help out me?
The text was updated successfully, but these errors were encountered: