Hi There,
Automation without a proper reporting ?
We have developed an Open Source Reporting utility (ATU Reporter) for TestNG. This is a listener for generating customized graphical reports. Following reports can be generated by this listener.
- Line Charts
- Bar Charts
- Pie Charts
ATU Reporter for TestNG:
The Project is a TestNG Listener which can be used for a more detailed Graphical reports.
This Post is organized into following parts:
Go To: ATU Reporter Part 1 - Contains Details regarding The ATU Reporter
Go To: ATU Reporter Part 2 - Contains Details regarding The usage along with Examples
Go To: ATU Reporter Part 3 - Contains Details regarding Upcoming Releases and Features
Go To: ATU Reporter Part 4 - Contains Details regarding Customizing the Reports
Go To: ATU Reporter Part 5 - Contains Details regarding Excel Reports Dependencies
Download Links: Stable Version 2.1
Download ATU Selenium TestNG Reporter
I am getting error like this ,, can you tell me how to resolve the issue.
ReplyDeletejava.lang.IllegalStateException: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
at atu.testng.reports.listeners.ATUReportsListener.onStart(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:197)
at org.testng.SuiteRunner.run(SuiteRunner.java:238)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
at atu.testng.reports.utils.Directory.init(Unknown Source)
at atu.testng.reports.utils.Directory.verifyRequiredFiles(Unknown Source)
... 11 more
[TestNG] Running:
C:\Users\gwda\AppData\Local\Temp\testng-eclipse--474925755\testng-customsuite.xml
Perhaps you may want to check the path of the properties file. From the exception stack, the path you given is invalid.
Delete#AT
I am also Having same ERROR STACK....Please Help.
Deletejava.lang.IllegalStateException: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
Deleteat atu.testng.reports.listeners.ATUReportsListener.initChecking(Unknown Source)
at atu.testng.reports.listeners.ATUReportsListener.onExecutionStart(Unknown Source)
at org.testng.TestRunner.initListeners(TestRunner.java:354)
at org.testng.TestRunner.init(TestRunner.java:238)
at org.testng.TestRunner.init(TestRunner.java:205)
at org.testng.TestRunner.(TestRunner.java:160)
at org.testng.remote.RemoteTestNG$1.newTestRunner(RemoteTestNG.java:141)
at org.testng.remote.RemoteTestNG$DelegatingTestRunnerFactory.newTestRunner(RemoteTestNG.java:271)
at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:561)
at org.testng.SuiteRunner.init(SuiteRunner.java:157)
at org.testng.SuiteRunner.(SuiteRunner.java:111)
at org.testng.TestNG.createSuiteRunner(TestNG.java:1299)
at org.testng.TestNG.createSuiteRunners(TestNG.java:1286)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
at atu.testng.reports.utils.Directory.init(Unknown Source)
at atu.testng.reports.utils.Directory.verifyRequiredFiles(Unknown Source)
... 18 more
This comment has been removed by the author.
Deletejava.io.FileNotFoundException: D:\ATU Reports\Results\Run_8\Test\com\Demo_Iteration1\Demo.html (The system cannot find the path specified)
ReplyDeleteat java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:194)
at java.io.FileOutputStream.(FileOutputStream.java:84)
at java.io.PrintWriter.(PrintWriter.java:146)
at atu.testng.reports.listeners.ATUReportsListener.startReportingForPassed(Unknown Source)
at atu.testng.reports.listeners.ATUReportsListener.onFinish(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:200)
at org.testng.SuiteRunner.run(SuiteRunner.java:243)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Hi there...
ReplyDeletea really interesting idea... but but very poor documented.
i actually wanted to know how do you manage the results of last 10 test-runs. ???
since youve not attached the sources of your code("open-source!"), it not possible to understand what magic does your library uses.
would be great if you attatch the sources to the downloads, or better you move the project to github or something else.
thx.
I'm also having this error. The situation is next - test is started from GUI and it is run in loop - in the end I receive folders :
Delete1. Run_1
2,Run_12
3.Run-123
I think that somewhere in code you've put += instead of = that is why this is happening. Please reply. Thanks
Do you have the codes for this somewhere which can be shared as this is an open source project
ReplyDelete
ReplyDeletejava.lang.IllegalStateException: [ATU Custom Reporter Exception] Unable To Create Required Files for Custom Reports
at atu.testng.reports.listeners.ATUReportsListener.onStart(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:197)
at org.testng.SuiteRunner.run(SuiteRunner.java:238)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: [ATU Custom Reporter Exception] Unable To Create Required Files for Custom Reports
at atu.testng.reports.utils.SettingsFile.create(Unknown Source)
at atu.testng.reports.utils.SettingsFile.initSettingsFile(Unknown Source)
at atu.testng.reports.utils.Directory.verifyRequiredFiles(Unknown Source)
... 11 more
Please help me out . Im facing this error
ReplyDeleteHi
ATU Results generated but not in Order After 5 run.
can anyone tell me how to skip test cases in ATU report
ReplyDeleteHi I couldn't find my company logo in report. I have paste my company logo in html_Design_file-->IMG. I have added the path in properties file also.
ReplyDeletePlease give soln for it??
Engineering students who are interested in inplant training in chennai can contact us. We provide real time inplant training in chennai for aspiring students.
ReplyDeleteFor first step for each run the bowser type is showing unknown under summery. from second run it is showing correct. Please suggest if it is a defect?
ReplyDeleteHello ,
ReplyDeleteI am exploring ATU reporter and I'm getting below exception while executing simple test method. Please help me out.
java.lang.IllegalStateException: java.lang.NullPointerException
at atu.testng.reports.listeners.ATUReportsListener.onFinish(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:200)
at org.testng.SuiteRunner.run(SuiteRunner.java:243)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: java.lang.NullPointerException
at atu.testng.reports.writers.CurrentRunPageWriter.getPackageName(Unknown Source)
at atu.testng.reports.writers.CurrentRunPageWriter.writePassedData(Unknown Source)
at atu.testng.reports.writers.CurrentRunPageWriter.content(Unknown Source)
at atu.testng.reports.listeners.ATUReportsListener.generateCurrentRunPage(Unknown Source)
... 11 more
Thanks
I am also getting the same issue, is any solution to this? please help.
DeleteI am also getting the same error please let me know the reason
DeleteIs there any property for disabling ATU reporting when ever required?
ReplyDeleteHi,
DeleteWe can remove/comment properties file path to disable ATU reporting
I added ATU report jar file.Added listeners. Is shows error in ATUReports.setWebDriver=driver;
ReplyDeleteit shows ther is no such method
we need to declare "private WebDriver driver" at class level in the test case then we can use ATUReports.setWebDriver(driver).I think it will help to solve you issue.
DeleteThanks,
Hi AT,
ReplyDeleteCould you please help me that how we can share current execution HTML?
[TestNG] Running:
ReplyDeleteC:\Users\Goutham\AppData\Local\Temp\testng-eclipse-592829940\testng-customsuite.xml
java.lang.IllegalStateException: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
at atu.testng.reports.listeners.ATUReportsListener.onStart(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:201)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1191)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1116)
at org.testng.TestNG.run(TestNG.java:1024)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:112)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:176)
Caused by: [ATU Custom Reporter Exception] The Path for the Custom Properties file could not be found
at atu.testng.reports.utils.Directory.init(Unknown Source)
at atu.testng.reports.utils.Directory.verifyRequiredFiles(Unknown Source)
... 11 more
How to handle parallel execution reporting using ATU Reporter.
ReplyDeleteWhile running in parallel, ATU reports merge 2 reports and showing it as one report! How to handle this?
ReplyDeleteI would like to have an answer on this, I'm having 3 reports that I would like to merge into 1
DeleteHi ATU, does the ATU support BDD framework, as I am encountering errors when I tried to integrate it. Please share your thoughts
ReplyDeleteCan we customize how the reports published.
ReplyDeleteAs of now reports generating in order run 1, run 2, run 3. is there any way we can display latest reports first i.e., run 3 first and then run 2 followed by run 1 in this scenario.
Embedded systems training in chennai
ReplyDeleteEmbedded system training in chennai
Best Embedded course training in chennai
Embedded Courses in chennai
Embedded course training in chennai
Process automation training in chennai
Automation training in chennai
Automation training institute in chennai
Industrial Automation training in chennai
Automation training centre in chennai
plc training in chennai
plc training institute in chennai
ieee final year projects in chennai
Mechanical project centre in chennai
Be projects in chennai
Hi , I got the Excel report generated but i am unable to open the xlsx file ("excel cannot open the file because the extension is not valid") and the file size is 0 . Kindly help me with the same
ReplyDeleteLangkah paling berani yang diambil oleh player ketika bermain dan menjalankan pemasangan taruhan poker dimana pemain ini akan menyimpan semua chip yang dimilikinya sebagai taruhan dengan kemauan kemenangan dapat lebih besar didapat.
ReplyDeleteasikqq
http://dewaqqq.club/
http://sumoqq.today/
interqq
pionpoker
bandar ceme terpercaya
betgratis
paito warna terlengkap
syair sgp
ReplyDeletejava.lang.IllegalStateException: java.lang.NullPointerException
at atu.testng.reports.listeners.ATUReportsListener.onFinish(Unknown Source)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:304)
at org.testng.SuiteRunner.run(SuiteRunner.java:367)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
Caused by: java.lang.NullPointerException
at atu.testng.reports.writers.CurrentRunPageWriter.getTestCaseHTMLPath(Unknown Source)
at atu.testng.reports.writers.CurrentRunPageWriter.writeFailedData(Unknown Source)
at atu.testng.reports.writers.CurrentRunPageWriter.content(Unknown Source)
at atu.testng.reports.listeners.ATUReportsListener.generateCurrentRunPage(Unknown Source)
... 12 more
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Please help me to resolve this issue