Click or drag to resize

Settings Class

This class saves general settings such as language, theme, log level and log path
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.ConfigurationSettings

Namespace:  Hummingbird.TestFramework.Configuration
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
public class Settings

The Settings type exposes the following members.

Constructors
  NameDescription
Public methodSettings
Initializes a new instance of the Settings class
Top
Properties
  NameDescription
Public propertyActiveProfile
Gets or sets the active profile used for Manual testing
Public propertyActiveTestEnvironment
The name of Active Test Environment
Public propertyCSVSeparator
The separator used to read/write CSV files. By default, the value is aligned with system when settings file is first initialized.
Public propertyCustomParameters
Saves the custom parameters and its values requested by the components. StrongName is a GUID value represents such components
Public propertyCustomThemes
XML content of the custom themes
Public propertyDisabledExtensions
Gets the Guid of Disabled extensions. Disabled extensions will not be loaded during application startup.
Public propertyFontSize
Font-size of the UI
Public propertyStatic memberInstance
Single instance of Settings object.
Public propertyIsFirstRun
Gets a value indicating whether the application is launched for the first time.
Public propertyLogLevel
Level of logs to show or be written.
Public propertyLogPath
Full path of the log file (with out file name). if the path does not exist, Test framework will try to create one.
Public propertyMaxConsoleOutputCache
Gets or sets the maximum console output can be hold in the automation runner. Default value is 100KB (102400 bytes)
Public propertyMaxMessages
Maximum number of messages stored and show in Manual Test Runner.
Public propertyMaxSavedRequestsPerService
Maximum requests history saved for a service.
Public propertyPreferedLanguage
Language code of preferred UI language. if the value is AUTO, then default OS culture settings will be applied. if the OS culture settings are not supported, the culture will be EN-US.
Public propertyProfiles
Gets or sets the profiles used in Hummingbird.
Public propertyShowResult
Show request result in the WindowsRequest, if false, close the Window.
Public propertyTheme
Theme of the User Interface
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCustomParameter
returns the value of the parameter in string, if the parameter does not found, returns null
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSave
Persists the settings to disk drive.
Public methodStatic memberSave(String)
Saves the current settings instance to a specified path.
Public methodSetCustomParameter
Sets the custom parameter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also