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

Intellij Testresults to Testrail


#1

Hi,

I’m trying to get the integration between testrail and java code using selenium webdriver.
We can export results using Intellij IDE to a html file. I was considering the idea of exporting the results from this html file to Testrail. Is that something that would work do you think?

Thanks,
Killian


#2

Hi Killian,

Thanks for your post! TestRail’s API methods would require a specific syntax for requests (in JSON format), and this wouldn’t support importing directly in HTML format. You would need to parse/convert this to the proper format prior to add this via the API. It’s also not possible to upload attachments via the API yet, however we do have plans to look into supporting this for a future update. You can learn more about the expected API request format/syntax on our website here (just click to expand the example requests/responses):

http://docs.gurock.com/testrail-api2/reference-results

Hope this helps!

Regards,
Marco