SetServerUrl method

Class: ConfigurationPlatform: ApppiumLanguage: C# SDK:

Use this method to set the URL of the Eyes server used to process the captured images.

Use this if you have a dedicated cloud or an on-premise server. By default, the test will run on the public cloud.

Syntax


 IConfiguration  configval = config.SetServerUrl(value);

Parameters

value
Type:string
The URI of your Eyes server in URI format. Pass a value of null to use the default cloud server.

Return value

Type: IConfiguration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.