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

SetAppName method

Class: ConfigurationPlatform: ImagesLanguage: C# SDK:

Use this method to set the value of the application name property. The application name is one of the 5 properties that define the baseline.


IConfiguration configval = config.SetAppName(value);
config.AppName  = configval;
 = config.AppName;

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


The application name to be configured for the test.

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.


If you call this method, it must be called before the call to Eyes.Open. In the call to Eyes.Open, if you provide the application parameter, then it will override the value set here. If you don't provide the parameter or pass a null, then the value set here will be used.