ContributionsMost RecentMost LikesSolutionsRe: TestComplete: web service communication.Alexei, Thank you, your post was very useful for me. I wrote the function based on post http://smartbear.com/forums/f81/t65754/testing-curl-webservices to send the request to REST Web Service. Here's the code: function send (objJSON) { var XmlHttpRequest = Sys["OleObject"]("MSXML2.ServerXMLHTTP"); var method = "POST"; var URL = "http://192.168.125.27:8000/GetRows"; XmlHttpRequest.open(method, URL, false); XmlHttpRequest.setRequestHeader("Content-Type", "json"); XmlHttpRequest.send(objJSON); //XmlHttpRequest.responseText returns JSON object try { return XmlHttpRequest.responseText; } catch (e) { return "Error" + e; } } ActiveXObject("MSXML2.XMLHTTP.3.0"); and Sys["OleObject"]("MSXML2.XMLHTTP.3.0"); did not work, the TC said "The system cannot locate the resource specified." (msxml3.dll). I found topic about this issue and it works great for me: http://p2p.wrox.com/classic-asp-xml/8761-msxml3-dll-0x800c0005-he-system-cannot-locate-2.html I send the JSON object as a string in the body of the send() method: objJSON = "{\"query\":\"select * from customer\"}" And here I found that testcomplete can operate with the JSON objects by very simple way: http://mindcemetery.wordpress.com/2009/10/19/json-in-testcomplete/ Note: I use testcomplete 7.52 TestComplete: web service communication.Hi! I faced a need to send JSON object to web service (by Post or Get method; webservice is RESTful, there is no WSDL document) and then to get the response from it. So: 1. Can I send some request to such webservice programmatically from TestComplete? 2. Can I send JSON object? 3. Can I get the response from the service?TestComplete doen't see DataWindow elementsHi all, I started to use the trial version of TestComplete 9 to test a PowerBuilder (11.5) application and faced a problem that TC doen't see elements of DataWindow. I found two topics on how to resolve this issue (http://blog.smartbear.com/software-quality/bid/170435/ and http://support.smartbear.com/viewarticle/30464/), and I walked through all the instructions, but TC still can not distinguish the structure of DataWindow. How can I resolve it or where was I wrong? Note: I gave unique Assignable Names to all the columns of DataWindow and controllers of the window. Thank you.TestComplete doen't see DataWindow elements Hi all, I started to use the trial version of TestComplete 9 to test a PowerBuilder (11.5) application and faced a problem that TC doen't see elements of DataWindow. I found two topics on how to resolve this issue (http://blog.smartbear.com/software-quality/bid/170435/ and http://support.smartbear.com/viewarticle/30464/), and I walked through all the instructions, but TC still can not distinguish the structure of DataWindow. How can I resolve it or where was I wrong? Note: I gave unique Assignable Names to all the columns of DataWindow and controllers of the window. Thank you.