serverUrl property

Class: ConfigurationPlatform: XCUILanguage: Objective-C SDK:

Use this property to set and retrieve 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. If you set the environment variable APPLITOOLS_SERVER_URL to the server URL then Eyes will use that value as the default.

Syntax

Call syntax


NSString* configval; // give relevant initial value
config.serverUrl  = configval;
configval = config.serverUrl

Declaration

 (copy, nonatomic) NSString *serverUrl

Type:NSString*

The URL of the Eyes server. Pass a value of nil to use the default cloud server.