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.
Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....
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