Forum Discussion

FlorianNeudert's avatar
FlorianNeudert
Regular Visitor
4 years ago

Export Test Cases including "Details", "Test Script" and "Execution"

Hello,  I am familiar with how to export Test Cases and it works smoothly if you are interested in the Details and the Test Script sections. However, what I have not yet figured out, is how to expor...
  • vpelizza's avatar
    vpelizza
    4 years ago

    Right, so on Server you could do something like the pseudo-code below:

     

    var testCycles = GET /testrun/search?query=projectKey = "ABBC"
    
    foreach (testCycles in testCycles) {
        var testExecutions = GET /testrun/{testCycle.key}/testresults
        // TODO do something with the test executions here
    }