Forum Discussion

joezhou's avatar
joezhou
New Contributor
3 years ago
Solved

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
    3 years ago

    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)