Forum Discussion
Thanks for the reply hkim5 . Could you please give me little more information on how to use zephyr scale API docs for my C# test scripts integration to Zephyr scale as i am new to all this and looking for a right direction to make it work.
Your help is really appreciated on this.
Thanks,
Swetha
hiswethac59 ,
I am not well versed in C# scripting or the frameworks that use the language for testing frameworks.
But essentially, you would need to implement the integration logic yourself based on the exit codes you are receiving from the testing framework you are using. That is, jenkins will call on the build step to trigger your test runs, but the actual api calls that are made to integrate with zephyr scale will actually be embedded in your test code (and not be triggered by a jenkins post build step)
1. group your test cases together into a test run -> make a post request to create a test cycle in zephyr scale
2. based on the exit codes you are receiving (i.e 0 for pass, 1 for error, etc.) you would make another post request of some sort to update test run results into the test cycle created above (most likely will need to grab a response value from the first call to identify test run id/key) - this logic will probably use some sort of a hook, or a callback method, so that you can determine when your individual tests have finished through the test run to make the appropriate api requests.
Related Content
- 2 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago