Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-9391

When importing test execution result containing german special character gives error: deserializing results file

    XporterXMLWordPrintable

Details

    • Xray 2023 S13
    • NOTRUN

    Description

      When importing test execution results throwing an error when it's containing :

      • German umlauts like ä, ö, or ü.
      • Test cases containing double inverted commas, and names of the robot test cases containing &.
      • Tags used in the Robot test cases containing ß (Eszett, spoken like s)
      • It also doesn't accept Chinese letters ("罗/羅","中國") (mentioned in sample.json file).

      How to reproduce

      1. Create Test execution.
      2. Generate XML result using Robot framework which should contain German umlaut, double inverted comma, and test case name contains &.
      3. Import test execution results using the import test execution result option on UI or Using REST API.

      Actual result/Attachments:

      {"error": "Error de-serializing Robot file."}

      Expected result:

      Execution result imported successfully.

      Attachments

        1. RobotTestrun-07-08-2023--14-25_NOK.xml
          1.0 kB
        2. sample.json
          267 kB
        3. sss1.png
          sss1.png
          29 kB
        4. sss2.png
          sss2.png
          12 kB

        Activity

          People

            pamp Paulo Pereira
            Shashank.Shekhar Shashank Shekhar
            Patricia Mateo
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: