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

setHostApp method

Class: ConfigurationPlatform: ImagesLanguage: Java SDK:

Use this method to set 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. By default, the hosting app is undefined. The Test Manager displays this value as the Browser column.


Configuration configval = config.setHostApp(hostApp);


The value to be used for the Host App property.

Return value

Type: Configuration
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.