Automatic Building Accelerator doesn't export backslash to escape double quotation to JSON

Document ID : KB000009165
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Introduced Automatic Building Accelerator as new feature on ARD 2.7.
We can import/export JSON file between Selenium Builder and Agile Requirements Designer (ARD). ARD can import JSON file from Selenium Builder, but ARD doesn't export escape sequence properly. So, exported JSON file from ARD, and attempt to import the file to Selenium Builder, and then parse error will be occurred.

This problem is occurred when JSON file has double quotation as value like following. In this case, double quotations are escaped with backslash. This format can be import to both Selenium Builder and ARD.

    {
      "type": "clickElement",
      "locator": {
        "type": "css selector",
        "value": "input[type=\"submit\"]"
      }
    },

However, ARD omits these escape sequence like following during exporting. So, the JSON file cannot be imported to Selenium Builder. 

    {
      "type": "clickElement",
      "locator": {
        "type": "css selector",
        "value": "input[type="submit"]"
      }
    },

 

Environment:
Agile Requirements Designer 2.7.000.19 (GA Release)
Cause:

This is a known product defect.

Resolution:

This problem was fixed on ARD 2.7.000.25, and the fix will be included to future release.

If you want to get the build for ARD 2.7, please contact CA Support.