I’m trying to get the results from my automated tests in TestComplete (Smartbear) transferred to TestRail.
Although there is an API, i’m getting stuck, cause the TestComplete Tool does only understand pls files.
I tried the following script:
Sub TRCom() Dim o Set o = CreateObject("MSXML2.XMLHTTP") o.open "GET","https://site.testrail.net/index.php?/api/v2/get_case/6",False,"user","password" o.setRequestHeader "Content-Type", "application/json" o.send log.message(o.status) End sub
But I’m running into a 401 error. I’m pretty sure that user and password are ok.
Is there any other way addressing TestRail via VBScript?
Thanks in advance!