jsc
11 years agoRegular Contributor
Script: new WebSocket("myLoggingServer") not working
Hi all,
I wanted to use Websockets within Scripts in TestComplete. But unfortunately this is not as straightforward as expected.
The following code works perfectly fine on Webpages:
var connection = new WebSocket("myLoggingServer");
connection.onopen = function()
{
connection.send(action);
connection.close();
}
What is the translation into TestComplete-Scripts?
I did not find real help by googling this.
Best regards,
Joachim