Forum Discussion

joezhou's avatar
joezhou
New Contributor
3 years ago

Importing/exporting test execution results from/to a CSV file

Can we do import/export test execution results from/to a CSV file in Zephyr scale? Many thanks

  • MisterB's avatar
    MisterB
    Champion Level 3

    You can export test results (go to reports > test execution results (list) > run the report and top right-hand corner should be an export dataset to Excel option.  I don't think it's possible to update execution results by import but you can do that using the API.  Here are some links that might help further:

     

    Importing by Excel - note that there is no field for results:

    Import Test Cases From CSV | Zephyr Scale Server/Data Center Documentation (smartbear.com)

     

    ZC Server API:

    Zephyr Scale Server API (v1) (smartbear.com)

    I think the end-point you need is: /testrun/{testRunKey}/testcase/{testCaseKey}/testresult

    (info: a testrun is a test cycle)

     

    • joezhou's avatar
      joezhou
      New Contributor

      Thank you very much MisterB. I will have a look at the suggested solutions.

    • joezhou's avatar
      joezhou
      New Contributor

      Dear MisterB,

       

      If you have time, could you also please have a look at my another question titled 'Uploading junit4 automation results to Zephyr scale cloud (free version) failed'.

       

      Many thanks,

       

      Joe