Ask a Question

Import exeucted test cases from a csv file?

SOLVED
navsta
Occasional Contributor

Import exeucted test cases from a csv file?

Hi

 

I can import test cases into Scale from a csv file. Can you/how to imported test cases that have been executed already into Scale.

 

I cant see the field mapping that would show this. Perhaps you cant do it via csv file?

 

 

3 REPLIES 3
josh42
Community Hero

Hi @navsta ,

 

no, you can't do that using the CSV importer.

 

You could, after you have imported the test case specs using csv, use the REST API to create test executions.

 

https://support.smartbear.com/zephyr-scale-server/api-docs/v1/

 

For executions without a test cycle you can do this.

  1. Create a test result using the POST .../testresult endpoint of the API.

 

If you want them in a test cycle you can do the following.

  1. You need to create a test cycle using POST .../testrun with the created test cases in the body.
  2. You can then create test results for the test cases in the cycle using POST/PUT .../testrun/{testRunKey}/testcase/{testCaseKey}/testresult or POST .../testrun/{testRunKey}/testresults

 

Cheers

Josh

navsta
Occasional Contributor

Thanks Josh

 

Besides the csv and the using the REST API, can you do it other import methods?

josh42
Community Hero

None that I can think of, no...

As far as I know, the API is your only option here (apart from manually inputting the results in Zephyr Scale).

cancel
Showing results for 
Search instead for 
Did you mean: