Question for AQA. How to push TestNG automation test results into needed TestSycle?
Hi All,
I am test automation engineer. I try to integrate Zephyr Scale into my automation project.
I use this API call to do this:
https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=RLPR&autoCreateTestCases=false(or True - it gives the same results actually). PLPR is my project and this param works good. autoCreateTestCases param seem not working to me.
As the results of this API call it creates a new TestCycle with my executed test cases and results witch is good already!
But! it creates this TestCycle somewhere even not visible in the UI. So no one could not even find it easily. I managed to find it guessing the IDs over the URL. The reason I see - the folder is not selected for this automatically created TestCycle.
What I want to do but can not find how: add my results to the already created TestCycle?
My best case scenario and proposed workflow is:
1. We start regression testing -> Create TestCycle with name 'Regression' with all available test cases in Zephyr Scale.
2. I run my automation test cases. Let's say there are 100 test cases automated.
3. I run API call to mark my results in 'Regression' TestCycle.
Please, help cuz I do not see good options right now.
Thanks a lot!
Hi Alex,
the documentation might not be clear. But the planned start date and planned end date will be filled automatically when you upload your results.
So you can simply remove the customFields attributes in the testCycle object.This hash for the test cycle object should work the way you expect it.
{ "name": "Unique name", "folderId": 2053487 }
Hi AlexQA!
I'm glad you were able to use this feature and it's working for you.
Regarding your request, I'm afraid we do not provide this feature yet, a new test cycle will always be created.
There's an idea in our Ideas Portal requesting that feature. Feel free to upvote it and help gather interest around it: https://zephyr-scale-cloud.ideas.aha.io/ideas/TM4JC-I-595Cheers!