Contributions
Re: "JScript runtime error" at Webservice ClientCertificate object
Thanks for your trying! I solved the problem! The solution is in the TestComplete parameter. Tools > Options > Engines > Web Services > Prefferd Web Service API .NET WCF - Default settings Native I changed this parameter to "Native" from default and now my code works all TC version.1.3KViews1like0Comments"JScript runtime error" at Webservice ClientCertificate object
I use the QAComplete's psWS Webservices in my Project with HTTPS protocol. My Code: function _Test_Ws() { var tmp = Ws_GetVersion(); //var tmp = Ws_GetLoginInfo(wsObj); return true; } function ServiceCertificate() { var service, crd, certificate; service = WebServices.QAComplete; crd = service.Credentials; certificate = crd.ClientCertificate; certificate.SetCertificateEx(slLocalMachine, snMy, ftFindBySerialNumber, "6b46030c65549b4c83d07690102358f0e315eead"); } function Ws_GetVersion() { // Ws_GetVersion() - QAComplete GetVersion WebService // Out: wsObj - webservice-nek megfelelő objektum var wsObj = new Object(); ServiceCertificate(); try { wsObj = WebServices.QAComplete.GetVersion(); var a = 1; } catch (e) { Log.Error(e.name + " \r\n" + e.description); Log.Message(WebServices.QAComplete.LastRequest.xml); Log.Message(WebServices.QAComplete.LastResponse.xml); } return wsObj; } It's perfect run in TestComplete and TestExecute v10. When I try run it in v10+ TestComplete or TestExecute I give the next error: JScript runtime error. Az objektumot kötelező megadni. Error location: Unit: "TestAutomata\TestAutomata\Script\_RunWebservice" Line: 46 Column: 3. I attached the error in picuter.Solved1.3KViews0likes2Comments"400 bad request" error when send request with SoapUI 5.0.0 to QAComplete (SWPlanner webService)
Hi, I try check the Folders_LoadByCriteria SWPlanner webService inQAComplete v11.0with SoapUI 5.0.0, but the response is "400 Bad Request". My request is in SoapUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prag="http://www.pragmaticsw.com/"> <soapenv:Header/> <soapenv:Body> <prag:Folders_LoadByCriteria> <prag:AuthenticationData> <prag:AppCode>agSPEnt</prag:AppCode> <prag:DeptId>8162</prag:DeptId> <prag:ProjId>12007</prag:ProjId> <prag:UserId>25080</prag:UserId> <prag:PassCode>12345</prag:PassCode> </prag:AuthenticationData> <prag:Condition> <Conditions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Operation="opAND"> <Conditions Operation="opEQU"> <Items type="tField"> <Value xsi:type="xsd:string">EntityCode</Value> </Items> <Items type="tString"> <Value xsi:type="xsd:string">'FunctionalSpecs'</Value> </Items> </Conditions> <Conditions Operation="opLIKE"> <Items type="tField"> <Value xsi:type="xsd:string">FullFolderName</Value> </Items> <Items type="tString"> <Value xsi:type="xsd:string">'Projects/TestProjects/TestProject_v10'</Value> </Items> </Conditions> </Conditions> </prag:Condition> <prag:Sorting></prag:Sorting> <prag:PageSize>1</prag:PageSize> <prag:PageNumber>1</prag:PageNumber> </prag:Folders_LoadByCriteria> </soapenv:Body> </soapenv:Envelope> The RAW response is: HTTP/1.1 400 Bad Request Cache-Control: private Content-Type: text/xml; charset=utf-8 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Thu, 24 Jan 2019 12:29:44 GMT Content-Length: 0 The Projects/TestProjects/TestProject_v10 is exist in Requirements (you can see ondb_content.png). What's wrong? Thank's!1.5KViews0likes1CommentAutomation test does not start.
Hi, I installed TestAgent on a VM (hostname: TCW7-02-T1). This VM has TestComplete v11 and TestExecute v11 installed. IN QAComplete, I can select this TestHost when I start the automation test, but the test doesn't start. The test staus is "Awaiting Run". This is the problem with another TestHost too. T attach some pictures... What's the problem?2.6KViews0likes3CommentsQAComplete & TestComplete Integration with Automated Testing Bridge
Hi, I want to install the Automated Testing Bridge for TestComplete QAComplete integration. So during the installation, I get the error message "Could not find file ... \ Automated Testing Bridge 11.pls". The file does not exist in this path. I have TestComplete 11 and QAComplete 11 and I do not plan to update them. How do I get the missing file?Solved1.6KViews0likes1Comment