Ask a Question

Any way to upload the testComplete test results to testrail?

meowgee0727
New Contributor

Any way to upload the testComplete test results to testrail?

I saw one of the comment under this post:

https://community.smartbear.com/t5/TestComplete-Questions/TestComplete-integration-with-TestRail/td-...

 

There is a external function using CLR bridge to execute some of the scripts in .NET

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calli...

 

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:

https://community.smartbear.com/t5/TestComplete-Questions/TestComplete-integration-with-TestRail/m-p...

 

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?

 

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/index...

 

 

 

 

 

6 REPLIES 6
Marsha_R
Champion Level 3

What happened when you tried it?

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.

So you haven't tried it in TestComplete yet?

Hi Marsha_R:

 

Nope. I was asking if anyone has made the scripts works in TestComplete. Have you tried in testComplete yet?

rraghvani
Champion Level 3

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!

cancel
Showing results for 
Search instead for 
Did you mean: