Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahulrathore44/excelreportgenerator
This api will generate excel report form test-result.xml file
https://github.com/rahulrathore44/excelreportgenerator
excel testng xml-to-excel
Last synced: 1 day ago
JSON representation
This api will generate excel report form test-result.xml file
- Host: GitHub
- URL: https://github.com/rahulrathore44/excelreportgenerator
- Owner: rahulrathore44
- Created: 2015-05-23T08:11:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T17:23:21.000Z (over 2 years ago)
- Last Synced: 2023-08-21T23:20:48.484Z (about 1 year ago)
- Topics: excel, testng, xml-to-excel
- Language: Java
- Homepage: https://www.youtube.com/user/fluxay44
- Size: 22.7 MB
- Stars: 7
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DESCRIPTION
This java api uses the "testng-result.xml" file to generate the excel report. The excel report file will have "TestCase Name" which will be in the form package name appended with class name and then appended with method name.
ex: com.testcase.Testclass.testcaseOne* The second column is "Status" which will have pass/fail.
* The 3rd column is the "Exception" which will have exception name.
* The last column is "Exception Message" which will have the stack trace.The api include two methods
* generateReport :- Create a fresh report form xml file
* createOrUpdateReport :- Create a fresh report/update the existing report file created using the same api.# REQUIREMENTS
* JDK 1.7 & Apache Poi Ver3.10.1
# COMMAND LINE
* java -jar TestNgToExcel-1.0.0-jar-with-dependencies.jar ""
* java -jar TestNgToExcel-1.0.0-jar-with-dependencies.jar "" ""
# IMPORT JAR
* ExcelReport.generateReport("")
* ExcelReport.CreateOrUpdateReport("","")
# DEPENDENCY
* Apache Poi Ver3.10.1