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

Nightwatch.js and TestRail API


#1

Hi

We are looking at different options to automate some tests.
One of them is Nightwatch.js using Selenium. The code used is javascript.
I have seen one discussion about accessing the TestRail APi in js but does someone use Nightwatch.js or/and build a test plan with updated results using JavaScript?

Thanks for your help

Stephanie


#2

Hi Stephanie,

Thanks for your posting. TestRail’s API is a generic HTTP and REST-like API so it’s possible to access and use it from JS. There’s currently no official API binding for JS/Node or similar but the API is very simple to use and you can find a good introduction here:

http://docs.gurock.com/testrail-api2/start

Cheers,
Tobias