[Python] Allure not able to read output.xml file generated by AllureReportLibrary in Robot...

Discussão em 'Python' iniciado por Stack, Setembro 17, 2025.

  1. Stack

    Stack Membro Participativo

    I am using Ride (RobotFramework IDE) and I have imported Library AllureReportLibrary in my project. Using the Set Output Dir, I am creating a Directory C:/AutomationLogs/Allure and all the allure properties and xml files are getting generated in that path.

    Set Output Dir C:/AutomationLogs/


    Then I am using the "allure serve C:\AutomationLogs\Allure" command to try and generate the html report file in command prompt, but it shows the below error -


    "Could not read result C:\AutomationLogs\Allure\f56f4796-d30a-47f3-a988-d17f6c4e13ca-testsuite.xml: {} com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize va lue of type ru.yandex.qatools.allure.model.SeverityLevel from String "None": value not one of declared Enum instance names: [trivial, blocker, minor, normal, critical]"
    ​

    The xml file "f56f4796-d30a-47f3-a988-d17f6c4e13ca-testsuite.xml" was generated using the AllureReportLibrary

    Also the index.html file which is generated after the command opens after this command and shows Allure Report unknown unknown - unknown (Unknown) 0 test cases NaN%

    I am using the below - Allure version - 2.4.1

    Ride version - RIDE 1.5.2.1 running on Python 2.7.12.

    I am new to Robot Framework and Allure. Please let me know whether I have implemented it correctly and why I am facing the above error.

    Continue reading...

Compartilhe esta Página