Creating Testcases for a testset with a Custom Automation Engine

Tuesday, January 10, 2017
Avatar
We currently have a Spira testset, with no testcases, that points to a test script which details all of the testcases to be run with our custom automation engine. Since, there are no testcases defined on the initial testset, is there a way to create testcases for the testset on the server, within a custom extension? Once this is done, the results of each testcase, defined in the testscript, can be uploaded to the corresponding testcases that were just generated on the spira server. I could make calls over the rest api to acheive this. However, if the functionality exists natively already; I would prefer that route.

Also, where is the documentation for the SDK? I can't seem to easily find it.
3 Replies
Wednesday, January 11, 2017
Avatar
inflectra.jimx
re: gjackson Tuesday, January 10, 2017
Hi Garvey

The SDK is designed to get a group of created test runs that are generated by RemoteLaunch from the test set (and its test cases). You can certainly do what you want, I would not recommend using RemoteLaunch or a custom extension. Instead I would natively call our SOAP or REST APIs to dynamically create the test cases on the fly and then send back the results. I think that will be easier and actually less work.

Regards

Jim
Friday, July 11, 2025
Avatar
re: gjackson Tuesday, January 10, 2017

Yes, you can dynamically create test cases within a Spira test set and upload results directly from your custom automation engine. This isn't a simple UI feature, but rather the **standard programmatic approach using Spira's REST API** from within your automation script. For API documentation, access your specific Spira instance at `[YourSpiraURL]/RestService/vX_Y/help`, replacing `vX_Y` with your actual version.

Wednesday, September 3, 2025
Avatar
re: gjackson Tuesday, January 10, 2017

Thanks for the sharing this kind of amazing and wonderful information you have shared with us. Keep sharing this kind of knowledgeable post. My Great Lakes

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Tuesday, January 10, 2017
  • Last Reply: Wednesday, September 3, 2025
  • Replies: 3
  • Views: 3942