Upload Test Complete logs to Sharepoint using Rest Api
I am trying to upload Test Complete Logs to Sharepoint, I have tried to use the Front Page RPC to upload but i am getting a 403 forbidden error, Also i am using author.dll to post.
Can I use rest api to upload the documents. Have any one tried using vbscript to Create a Rest Api function to upload the documents.
If so any guidance will be much appreciated.
Re: Upload Test Complete logs to Sharepoint using Rest Api
I, personally, am not familiar with SharePoint's API so I cannot respond specifically to what API calls, etc., you can use. I defer to someone who is more experienced than I am to help you with that syntax.
However, you SHOULD be able to use (I think) the aqHttp object to format and create your requests that you can then send to the API. I THINK this should work. See https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqhttp/createrequest.html
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider