Any way to upload the testComplete test results to testrail?
I saw one of the comment under this post:
There is a external function using CLR bridge to execute some of the scripts in .NET
I now have completed a scripts can analyst the HTML testComplete test result and upload the test result to the testRail.
Can I put this scripts into testComplete and using CLR bridge to execute it?
I also see one comment saying there is no direct way to integrate with testrail:
Thus, to upload the test result from testComplete can only depend on two way.
1. Create a script to find all of the test result in the HTML package which is exported from testComplete and upload the test result
2. Using CLR bridge to update the test result to testRail (also need a external script)
Correct me if I am wrong, just want to check if we can use the CLR bridge function to upload the test result in testComplete?
I can use my scripts to fetch the test result in the HTML test result package, and upload the test results and attachments to testRail (via testRail API), I just want to know if I can do this within testComplete itself, like using CLR bridge or other internal function to complete the same task.
In TC, there's a command line parameter called ExportSummary, which allows you to generate a summary report for the current test run, in XML. It should be possible to write a scripts which translates the TC summary report into something that TestRail accepts via its API's.
As far as I'm aware, there's not function in TC that allows this.
Yeah. You’re right. We can also choose to export the test result in different format such as HTML by command line. I think this can use for Jenkins pipeline to automatically upload the test result to testrail. Of course, we still need to implement the scripts for the exported test report. I made the post to make sure I am doing this thing in an efficient way. Thanks for replying!