Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Importing the TestRail API into IntelliJ


#1

Hello all,

I’m currently trying to set up some TestRail customisation with Selenium. To create the Selenium scripts I’ve set up IntelliJ to use the Selenium webdriver, and then using JUnit @Test cases within that. So what I want is to pass the results from each of the @Test cases into TestRail.

However, I’m new to IntelliJ and I’m struggling to work out how to integrate with TestRail, I’ve read the API Binding information on http://docs.gurock.com/testrail-api2/bindings-java but I can’t work out how to import that into IntelliJ.

Is anyone able to help please?


#2

Hello Mark,

Thanks for your posting. We don’t have experience with IntelliJ ourselves but the binding has just a couple of regular .java files so they should be easy to add to your project. I believe you would just need to copy the .java files to your existing project (directory).

Cheers,
Tobias


#3

Hello Tobias,

Thank you for your help, I’ve been able to resolve this perfectly.

Many thanks

Mark


#4

That’s great to hear, Mark, happy to help :slight_smile:

Cheers,
Tobias