Chandan Gupta
Chandan Gupta

Reputation: 95

Execute test cases from Rally

I am wondering if we can run a test case from Rally. I understand we can add test cases, add defects etc using java/Rest Rally API but can we invoke a test case from Rally? Reason behind asking is because I want to automate the entire process of a QA cycle viz. Test case addition>>Test case execution>>Test case result report. Please show some light.

Thanks

Upvotes: 1

Views: 3040

Answers (1)

Kyle Morse
Kyle Morse

Reputation: 8410

Executing a testcase is really just creating a new TestCaseResult object associated to that test case. You can also optionally associate the TestCaseResult with a TestSet, if you are executing your testcases within the context of an iteration.

I'd probably add a custom string field to your TestCase object that is the name or path of your automation script. Then at any point your test process (whether wired up in a CI system or some other manner) you can read that test case, find the script, execute it and add a TestCaseResult based on the output.

Does that make sense?

Upvotes: 1

Related Questions