On-premise and Private cloud deployment modes allow customers to work with their own private Applitools Eyes server (as opposed to Applitool's public server).
In order to use your private server when running tests, you need to explicitly declare which server you are working with (usually in the Initialization.
Following are syntax examples in all available languages:
Espresso:
Eyes eyes = new Eyes(URI.create("https://<org>eyesapi.applitools.com"));
FYI - You may need to add the below dependency to your build.gradle
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
Java:
eyes.setServerUrl(new URI("https://<org>eyesapi.applitools.com"));
JS/Protractor:
var eyes = new Eyes("https://<org>eyesapi.applitools.com");
Ruby:
eyes = Applitools::Eyes.new(server_url:'https://<org>eyesapi.applitools.com')
Python:
eyes = Eyes('https://<org>eyesapi.applitools.com')
C#:
var eyes = new Eyes(new URI("https://<org>eyesapi.applitools.com));
QTP:
eyes.ServerUrl = "https://<org>eyesapi.applitools.com"