uttesh / pdfngreport

This is the pdf report plugin library written for testng/selenium frameworks, this listener will generate the pdf report on testcases execution, its very simple to configure no need to write any code.
http://uttesh.github.io/pdfngreport/
Other
30 stars 26 forks source link

I can't generate the report #29

Open Kcontreras opened 6 years ago

Kcontreras commented 6 years ago

Hi Uttesh, Firstly, thank you for your post it has been very helpful for me. I have tried to run a test case with the pdfngreport library, however after I did all settings, in the different files (pom.xml, pdfngreport.properties) the test case runs correctly, but the report is not generated, even the console does not shows any information or error regarding to the report. I am using jfreechart 1.0.13, fop 2.0, pdfngreport 2.1.3 for me project. I also have run your example on my machine (pdfngreportdemo-master) and this running successful but with my project doesn't work. How can I know that over my project the library is working correctly? , Do I have some logs or something similar where I can see that everything is configure in the correct way?

Thank for your attention and I hope you can help me with this.

uttesh commented 6 years ago

Hi Kcontreras,

Could you please send me the build log i mean, when maven test command is executed is there any error/warning? you can run the maven in the debug mode and send that log.

Configuration looks fine to me, no issues is there.

maven command to get the all stack traces.

mvn test -e --log-file log.txt

send me that log.txt.

Thanks, Uttesh

On Tue, Sep 26, 2017 at 9:27 AM, Kcontreras notifications@github.com wrote:

Hi Uttesh, Firstly, thank you for your post it has been very helpful for me. I have tried to run a test case with the pdfngreport library, however after I did all settings, in the different files (pom.xml, pdfngreport.properties) the test case runs correctly, but the report is not generated, even the console does not shows any information or error regarding to the report. I am using jfreechart 1.0.13, fop 2.0, pdfngreport 2.1.3 for me project. I also have run your example on my machine (pdfngreportdemo-master) and this running successful but with my project doesn't work. How can I know that over my project the library is working correctly? , Do I have some logs or something similar where I can see that everything is configure in the correct way?

Please see the documents attached. Documents.zip https://github.com/uttesh/pdfngreport/files/1331778/Documents.zip

Thank for your attention and I hope you can help me with this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uttesh/pdfngreport/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHac6zN5qqci_XZng2fFF26s6DX6IR0ks5smHYtgaJpZM4PjpGd .

uttesh commented 6 years ago

Hi Karen,

Gone through your log file, look like its having small mistakes in your pom and JDK setting.

  1. Its missing groupId in the pom.cml file. (line 112)
*org.apache.maven.plugins* maven-compiler-plugin 3.3 1.8 1.8
  1. make your using JDK not jre, check all setting is the code is compiling properly. (logMvn.txt line 646)

Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

above error nothing do with the pdf report library.

Thanks, Uttesh

On Tue, Sep 26, 2017 at 10:51 PM, Kcontreras notifications@github.com wrote:

Hi Uttesh, thank you for your quick response. I have just run the project on mode debug, so I attach you the log. I hope that this will be useful for you. Thank you very much for your care.

Karen C. LogMvn.zip https://github.com/uttesh/pdfngreport/files/1334081/LogMvn.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/uttesh/pdfngreport/issues/29#issuecomment-332271906, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHac60QvWcX2dP000eRVJBOhGqr9bdRks5smTKfgaJpZM4PjpGd .

Kcontreras commented 6 years ago

Yes Uttesh you are right, Let me check my errors and after that I am going to validate if it is possible generate the pdf report.

Thanks, Karen C.