Forum Discussion
Hi,
> if Windows applications could suddenly be run on cloud machines?
Considering that your tests are running under TestExecute on the cloud machines, it is my expectation that some Windows environment is provided for TestExecute and thus, processes that are spawned from the test must be able to run in this environment.
The simplest check, probably, would be to copy some file into some subfolder of the test project and add a test (code or keyword) that will check if the file exists in this subfolder. Deploy and run this test into CBT and check if the file was found.
> the WshShell.run method. Should this work without a Desktop module?
Not sure, you should check. But in the worst case, WshShell is just a wrapper and you always should be able to use native JScript's
var objShell = new ActiveXObject("Wscript.Shell");
objShell.exec("curl ...");
> Is there no way to extract these original, unaltered, i. e. not encoded, non-human readable control characters that make up my screenshot graphics file
Try ADODB.Stream:
http://www.motobit.com/tips/detpg_post-binary-data-url/
Wow, it works with curl, even on CrossBrowserTesting, brilliant! So at least with our TestComplete ProBundle license (i. e. including desktop module). :manvery-happy:
For now, thank you both for your expert advice!! I had already encountered curl during my research on multipart/form-data content type, but I didn't think it was possible that this could work so easily on CBT and therefore discarded it too quickly. Really great!
Thanks + best regards!