ContributionsMost RecentMost LikesSolutionsRe: Integration TestRail and TestComplete The class looks like this: const PORT = 8011; function TestRailClientClass() { this.server = "http://localhost:" + PORT + "/"; } TestRailClientClass.prototype.sendResult = function(caseId, caseStatus, failureReason) { let message = (caseStatus == 1 ? "test passed" : "test didn't passed"); let request = aqHttp.CreateGetRequest(`http://localhost:8011/${caseId}_${caseStatus}_${failureReason}`); request.Send(); } module.exports.TestRailClientClass = TestRailClientClass; Instance of TestRailClientClass sends result of each test to the server (outer program built on Java) that sends result to TestRail. The server uses TestRail API. In other words: I didn't manage to implement TestRail API using Javascript in TestComplete but I had the same implementation on Java, so I added server class to Java-project, that receives http-requests from TestComplete and then passes results to TestRail. The chain looks like this: Test passes/faies -> TestRailClientClass sends result to server -> Server sends result to TestRail Re: Integration TestRail and TestComplete I know it is tooo late for answering but I hope someone will find this information useful. I was setting the integration between TC and TestRail and solved problem of saving results of each test this way: I added 2 global variables to project: Project.Variables.currentTestName = {testName}; // for example 1788 Project.Variables.currentTestStatus = 0; And include them into each test. Each test has at the start Project.Variables.currentTestName = {testName}; // for example 1788 Project.Variables.currentTestStatus = 0 and at the end Project.Variables.currentTestStatus = 1 If test failes, status remaines 0. To use these variables I created OnStopTest event - it works either test passes or failes. Code in the event looks like this: let caseId = Project.Variables.currentTestName; let caseStatus = Project.Variables.currentTestStatus; let testRailClient = new TestRailClient.TestRailClientClass(); testRailClient.sendResult(caseId, caseStatus); Hope someone will find this useful. Re: TestComplete built-in tool for creating documentation (Javascript) Thank you for your reply. The problem is that our security system is too strict and it's really a problem to install third-party software. Ok, I'll try to get necessary permissions to do that. TestComplete built-in tool for creating documentation (Javascript) Hello! In our project we have already created a lot of scripts and there will be a lot more. And in the same time the amount of peolple working on that project is increasing, that's why we need to create documentation for our tests. Is there any tool in TestComplete for creating documentation for tests written in Javascript? Tool that will automatically generate JSDoc-files is needed. Any answer will be appreciated. Thanks. Solved