- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:43 AM
Is it possible to integrate Automated Test Framework (Testcases) from ServiceNow to pass fail/test cases in Zephyr?
So I was looking for a way to have a link between ATF and Zephyr Test Cases, So if i pass or fail anything within ATF it should help reflect in Zephyr?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 11:34 AM
Yes. But you will definitely need to customize on both the sides. Usually when you integrate two systems, You will be using Co-Relation ID which defines the ID of the record in the third-party app. For example, You will need to create a field called Co-relation ID (name could be anything like Zephyr ID) in ATF test case table and also a field called ServiceNow ID in Zephyr. Now, when you create a test case in ATF, send the sysId of the ATF test case to Zephyr and store it in the field that was created. And from the data Zephyr sent as response, You can parse the ID of test case and save it in the related ATF test case. Now, you have a connection established. When you detect a failure in the ATF run, You can just have an integration to update the status in Zephyr ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 11:18 AM
I was thinking the same but within the instance I tried to use Agile Test Management. But the main problem would be finding the test case in Zephyr to update. If you can define which test case in Zephyr to pass/fail when a test is actually failed in ATF, You will be able to achieve this. Technically, You should define a Coalesce meta data in both the systems and a few customizations could be included with this. You could use the Name field on ATF test case but it is still a string type that anyone can change. You can try using SysID and Name maybe but you need to find a way to save that information in Zephyr.
Another solution would be to create a new test case every time in Zephyr when you encounter a failure in ATF run or whenever you create a test case in ATF before running and send all the Coalesce data and save it for the first time and when you encounter a failure in ATF for the created test case, You search the test case in Zephyr and update the status.
There are many ways technically but please evaluate the business outcome of the integration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 11:22 AM
@Ravi Peddineni , thanks for the information! But say I manually select a test case - is there a way to link 1 test case from Zephyr to Service now ATF test case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 11:34 AM
Yes. But you will definitely need to customize on both the sides. Usually when you integrate two systems, You will be using Co-Relation ID which defines the ID of the record in the third-party app. For example, You will need to create a field called Co-relation ID (name could be anything like Zephyr ID) in ATF test case table and also a field called ServiceNow ID in Zephyr. Now, when you create a test case in ATF, send the sysId of the ATF test case to Zephyr and store it in the field that was created. And from the data Zephyr sent as response, You can parse the ID of test case and save it in the related ATF test case. Now, you have a connection established. When you detect a failure in the ATF run, You can just have an integration to update the status in Zephyr ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 11:38 AM
Awesome, thanks for the information, will try this out!