Reporting Capabilities
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Reports Config
Name | Description |
---|---|
reportFormat | type of report, HTML / XML. (default: 'XML') |
reportDirectory | directory for the report (default: 'reports') |
testName | test name (default: 'Untitled') |
Report Formats
Below is a list of values that can be set as the reportFormat capability values
Name | Description |
---|---|
HTML | Generates the External Report zip file. |
screenshot | Generates the External Report zip file. |
video | Generates a video file that is shown on the report page |
XML | Equivalent of the string "HTML,video" as reportFormat value |
properties | Generates a report properties file |
Generate a pdf report | |
dummy | creates an empty report Set dummy reporter when using custom reporters (not for SeeTest Reporter). If the dummy reporter was set, Report Path and Report Name should be set as empty strings (" "). |
In addition to the above, reportFormat can be a combined value of several types. i.e. by writing "video,html" report will generate both video and External Report zip files
info
- When one of reportFormat / reportDirectory is set*,* the other is automatically completed with the default value.
- To enhance test execution speed, omit reportFormat and reportDirectory from the capabilities setup.
- 'pdf' report format behavior was changed in 20.4 to only generate a PDF report file. Replace with "pdf,video" to preserve old behavior.
- The format string is whitespace and case sensitive
Example (Java) - Set Capabilities to generate an HTML report titled "My First Test"
DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability("reportFormat", "xml");
dc.setCapability("testName", "Eribank");
dc.setCapability("reportDirectory", "reports");
driver = new IOSDriver<>(new URL("http://"+host+":"+port), dc);
Optional Reports Capabilities:
Name | Description |
---|---|
<br/><br/>report.disable<br/><br/> | the default value is false - if true, a report will not be created |