Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jan 31, 2019 17:42

In some cases we may want to automatically obtain the PDF report after a test execution.
This can be done by utilizing ReportiumExportUtils.

This Java Appium project is a small and simple example of how this can be achieved, based on the more complex ExportAllDataCodeSample.

If you'd like to reuse it your project, the WritePDF function is all that is needed. It needs to be called after driver.quit() has been called, as the report will not be created prior to it.

https://github.com/PerfectoCode/Community-Samples/tree/master/PDFReport_Example