Skip to content

Test status text from output.xml is not parsed #25

@blueberrystain

Description

@blueberrystain

It seems that error message in test status is not parsed from output.xml and saved to db. Fixing this would only require adding two lines of code (one for parsing and one for column creation):

  1. robot_results_parser.py --> _parse_test_status --> 'message': test.message
  2. database_writer.py --> _create_table_test_status --> 'message': 'TEXT'

E.g. "Keyword 'Wait Until Element Is Visible' failed ..." should be parsed (simplified example from output):
<test><status status="FAIL" endtime="20190201 13:21:01.497" critical="yes" starttime="20190201 13:20:09.986">Keyword 'Wait Until Element Is Visible' failed ...</status></test>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions