Forum Discussion
It's not a RESTful API. So you need to use the code they provide for binding to various languages and integrate it into TC using the CLR Bridge functionality. Which allows you to use external libraries.
The previous poster used the .NET bindings.
So start reading here: https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calling-from-dotnet-assemblies.html
Which is what you'll need to use: http://docs.gurock.com/testrail-api2/bindings-dotnet
Now, I do notice that TestRail refer to that as V2 of their API. I have no idea if the above script was written using these bindings, or ones from an older version.
But above all, you need to understand how to use external libraries. Once you understand that, then you can start worrying about how you create and use one for TestRail. (And you need someone who knows their way around Visual Studio and .NET to make all this work.)
Hi Colin,
Thank you for your reply. Yes I downloaded the API binding and the Json.NET dependency.
I managed to build the project including that dependency. Now I guess the only part missing would be making TestComplete use it.
I'll investigate the link and hopefully will work in the end.
Thanks again!
- BenAtStrata5 years agoNew Contributor
Hello , I am trying to implement the TestRail API in TestComplete as well.
Can you share how you compiled the TestRail dotnet project with JSON?