SetAppName method

Class: ConfigurationPlatform: Selenium 3Language: 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.

Syntax


IConfiguration configval = config.SetAppName(value);

Parameters

value
Type:string
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.

Remarks

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.