Report Generation API
Functions for generating test reports from recorded automation actions.
generate_html
- generate_html()
Creates an HTML string from recorded test actions.
- Returns:
HTML report content.
- Return type:
str
generate_html_report
- generate_html_report(html_name='default_name')
Saves an HTML report file.
- Parameters:
html_name (str) – Output file name (without extension).
generate_json
- generate_json()
Creates JSON data from recorded test actions.
- Returns:
Tuple of
(success_dict, failure_dict).- Return type:
tuple[dict, dict]
generate_json_report
- generate_json_report(json_file_name='default_name')
Saves a JSON report file.
- Parameters:
json_file_name (str) – Output file name (without extension).
generate_xml
- generate_xml()
Creates XML data from recorded test actions.
- Returns:
Tuple of
(success_dict, failure_dict).- Return type:
tuple[dict, dict]
generate_xml_report
- generate_xml_report(xml_file_name='default_name')
Saves an XML report file.
- Parameters:
xml_file_name (str) – Output file name (without extension).