Any way to upload the testComplete test results to testrail?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
Integrations
-
Script Tests
-
Web Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What happened when you tried it?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Marsha_R:
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So you haven't tried it in TestComplete yet?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marsha_R:
Nope. I was asking if anyone has made the scripts works in TestComplete. Have you tried in testComplete yet?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
