Reputation: 349
I can able to fetch testcase results which contains testcase name and other details . But i couldn't get test step for a testcase . My query contains steps attribute which has teststep url associate with it . is there a way where i can fetch teststep details for a testcase
//create new QueryRequest
QueryRequest tests = new QueryRequest("Test Case");
tests.setFetch(new Fetch("FormattedID","Name","Owner","Test Folder","steps","LastRun"));
// Query Rally
QueryResponse queryResponse = restApi.query(tests);
Upvotes: 2
Views: 367
Reputation: 8400
Yep, you just need to make a second request to hydrate the steps for each test case in question.
You can check out this example here, which is defects on a story:
Upvotes: 1