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

Unable to pass my test case on TestRail. I am using Protractor


#1

Here is my code
var TestRail = require(“testrail-promise”);
var tr = new TestRail("","",""); I pass the three parameters for the connection with TestRail
var obj = {“run_id”:1032,“case_id”:21549,“status_id”:1, “comment”:“Passes”};
tr.addResultForCase(obj);

Can someone help me understand where I am wrong?

Thanks.
Sarfraz Khan.