Question: I want to update my test case results (already created in TM4J ) after my automation run finish (scripts created using Selenium and Java, Jenkins job)
1. I have automation suite created using Selenium, Java using Maven and TestNG.
2. I have jenkins job running the automation suite. In jenkins job we are using "Pipeline scripts from SCM" to generate the report and we use a custom format report to publist the report in a communication channel.
What I am trying to achieve?
If suppose I have 10 test cases automated, I want to update the results of those 10 test cases in TM4J based on the execution result meaning if my 7 scripts pass and 3 failed I want to update 7 test case results as Pass and 3 as fail in TM4J.
What I have done so far:
I read few links https://smartbear.com/product/testcomplete/integrations/automated-testing-with-jenkins/ and I have added Test Management for Jira plugin to Jenkins. I have pipeline code to generate the test results in the json file as part of my jenkin file Post build action. How can I read this json file to publish the test case results in TM4J in this automation. Any help will be really appreciate.
It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events