The information in this topic may be out of date. The current SDK reference guide has moved here.

hostApp property

Class: EyesPlatform: XCUILanguage: Objective-C SDK:

Use this property to set and retrieve the name of the hosting application property.

The hosting app, along with the HostOS property and ViewportSize, determines which baseline will be used as the basis for comparing checkpoint images. When running without the Ultrafast Grid, by default, Eyes uses the host application (browser) that the test uses. When running a test with the Ultrafast Grid, when the browser configuration is a desktop browser, the specified browser is the hosting app. When the browser configuration is a mobile device, the hosting app is Chrome. The Test Manager displays this value as the Browser column.


Call syntax

NSString* value; // give relevant initial value
eyes.hostApp  = value
value = eyes.hostApp


 (copy, nonatomic, nullable) NSString *hostApp


The value to be used for the Host OS Property.