Read XML and Json data returned from WebAPI
My lead developer has had an idea that rather than calling the data we need for testing directly frome the database using an ADO object, we should call a WebAPI that will return Json or XML.
Does anybody know how to do this in Test Complete?
Hi,
Yes, this should be possible.
The following links might inspire you with the possible approaches:
TestComplete: web service communication (JSON)
http://smartbear.com/forums/f81/fp3/t75732/testcomplete-web-service-communication/
Specific xsi:type=ns*:RemoteUser name values only needed
http://smartbear.com/forums/f74/t81544/specific-xsi-type-ns-remoteuser-name-values-on.aspx
http://stackoverflow.com/questions/529556/xpath-find-elements-by-attribute-namespace
http://stackoverflow.com/questions/2524804/how-do-i-use-xpath-with-a-default-namespace-with-no-prefix
Does TestComplete support WS-Security ?
http://smartbear.com/forums/f75/t96891/does-testcomplete-support-ws-security/
Cookie access
http://smartbear.com/forums/f75/t81225/cookie-access
http://www.catonmat.net/blog/clear-privacy-ie-firefox-opera-chrome-safari/
Consuming SOAP Web Services from VBScript
http://kapie.com/2007/consuming-soap-web-services-from-vbscript
Send request by HTTP POST method in VBS script
http://www.visualbasicscript.com/Send-request-by-HTTP-POST-method-in-VBS-script-m81142.aspx
How can i do a HTTP post from testcomplete
http://smartbear.com/forums/f74/t50150/how-can-i-do-a-http-post-from-testcomplete
Calling .cgi file from script and read dynamicall?y generated values (HTTP request)
http://community.smartbear.com/t5/Desktop-Testing/Calling-cgi-file-from-script-and-read-dynamically-generated/td-p/103795
Automatic file upload using IE+ADO without user interaction - VBSscript
http://www.motobit.com/tips/detpg_uploadvbsie/
Post binary data to URL from WSH/ASP/VBA/VBScript
http://www.motobit.com/tips/detpg_post-binary-data-url/