SetHostApp method

Class: ConfigurationPlatform: ImagesLanguage: C# 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.


IConfiguration configval = config.SetHostApp(value);
config.HostApp  = configval;
 = config.HostApp;

Note that this feature is available as both a method and a property.


The value to be used for the Host App property.

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.