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

Test Case Importer is unable to perform the mapping if the second row contains multiline values

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • Backlog
    • None
    • None
    • UNCOVERED

    Description

      Whenever using Test Case Importer with a CSV file that has the second row with a multiline field, the mapping does not show all columns; it seems that the code used to preview the columns in the UI is not the same that is used to import the Tests.

       

       

      This CSV doesnt work

      TCID;Test Summary;Description;Test Repository Path;Step;Data;Expected Result
      1;tcase1;"";/tsuite1;"<p>when i <em>press</em> 1</p>
      ";"";""
      1;tcase1;"";/tsuite1;"<p>dd</p>
      ";"";""
      1;tcase1;"";/tsuite1;"<p>lkjdsi</p>
      ";"";
      2;tcase2;"";/tsuite1;"<p>dsds</p>
      ";"";
      2;tcase2;"";/tsuite1;"";"";
      3;tcore1;"<p>fddf</p>
      ";/core/backend;"<p>press 1</p>
      ";"";
      3;tcore1;"<p>fddf</p>
      ";/core/backend;"<p>press 2</p>
      ";"";
      4;dummy test1;"<p>dummy test dos grandes</p>
      ";/core/backend;"<p>fazer isto&nbsp;</p>
      ";"";
      4;dummy test1;"<p>dummy test dos grandes</p>
      ";/core/backend;"<p>fazer aquilo&nbsp;</p>
      ";"";
      5;verifica bd;"<p>verifica o estado da db</p>
      ";/core/backend/db;"<p>pg start</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>carrega aqui</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>mete login</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>mete pass</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>carregaa enter</p>
      ";"";

       

      This does work

      TCID;Test Summary;Description;Test Repository Path;Step;Data;Expected Result
      TCID;Test Summary;Description;Test Repository Path;Step;Data;Expected Result
      1;tcase1;"";/tsuite1;"<p>when i <em>press</em> 1</p>
      ";"";""
      1;tcase1;"";/tsuite1;"<p>dd</p>
      ";"";""
      1;tcase1;"";/tsuite1;"<p>lkjdsi</p>
      ";"";
      2;tcase2;"";/tsuite1;"<p>dsds</p>
      ";"";
      2;tcase2;"";/tsuite1;"";"";
      3;tcore1;"<p>fddf</p>
      ";/core/backend;"<p>press 1</p>
      ";"";
      3;tcore1;"<p>fddf</p>
      ";/core/backend;"<p>press 2</p>
      ";"";
      4;dummy test1;"<p>dummy test dos grandes</p>
      ";/core/backend;"<p>fazer isto&nbsp;</p>
      ";"";
      4;dummy test1;"<p>dummy test dos grandes</p>
      ";/core/backend;"<p>fazer aquilo&nbsp;</p>
      ";"";
      5;verifica bd;"<p>verifica o estado da db</p>
      ";/core/backend/db;"<p>pg start</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>carrega aqui</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>mete login</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>mete pass</p>
      ";"";
      6;tc1;"<p>login</p>
      ";/core/frontend;"<p>carregaa enter</p>
      ";"";

      Attachments

        Activity

          People

            dpca Diamantino Campos
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: