G
G
GromOrm2020-12-21 04:46:45
Java
GromOrm, 2020-12-21 04:46:45

How to save test result in CSV format in TestNG?

I am using Selenium WebDriver and TestNG. By default, TestNG saves the test report in Index.html.
How to save in CSV form. Tell me please. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2020-12-24
@prafair

Alternatively, you can use a project that converts JUnit xml's that should be contained in the build folder:
https://github.com/onozaty/junit-xml2csv
Either try converting testng-results.xml to csv format (Google)
Or make your own type converter https://github.com/rahulrathore44/ExcelReportGenerator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question