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

Robot Framework IF/ELSE statements are not being imported when contained within a Keyword clause on the xml file

    XporterXMLWordPrintable

Details

    Description

      Description
      Robot Framework IF/ELSE statements are not being imported when contained within a Keyword clause on the xml file.

      Robot Framework v4.0 XML reports documentation mentions that IF/ELSE statements should be supported since Xray 5.0 

      After trial and error it was detected that whenever IF/ELSE statements are defined outside a Keyword in Robot Framework, they will be imported as Test Details. But whenever this statements are defined inside a Keyword, they are not imported being to Xray.

      How to reproduce

      1. Generate a Robot Framework results XML which contains IF/ELSE statements within a Keyword clause like <kw name="Test Keyword">.

      Sample file: Output_Sample_VSXray.xml

      1. Import this xml file into Xray.

      Actual result/Attachments

       

      • Test results will be imported, but the details won't contain the IF/ELSE statements:

       

      Expected result

       

      • Test result should be imported with Test Details including the IF/ELSE statements:

       

       

       

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              victor.sanchez Victor Puente Sanchez
              Andre Fernandes Rodrigues, Patricia Mateo
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: