DbBot icon indicating copy to clipboard operation
DbBot copied to clipboard

Test status text from output.xml is not parsed

Open blueberrystain opened this issue 6 years ago • 0 comments

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>

blueberrystain avatar Feb 01 '19 11:02 blueberrystain