Click or drag to resize

Profile Class

This class stores the test profiles such as: Variables and configured server replies. user can save and load settings from different copy either from a file or from ALM.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.ConfigurationProfile

Namespace:  Hummingbird.TestFramework.Configuration
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
public class Profile : INotifyPropertyChanged

The Profile type exposes the following members.

Constructors
  NameDescription
Public methodProfile
Initializes a new instance of the Profile class. used for automation engine only.
Top
Properties
  NameDescription
Public propertyActiveEnvironment
Gets the active test environment.
Public propertyStatic memberActiveProfile
Gets the Active profile used by Manual Testing
Public propertyCredentials
This list stores Authentication Tokens used for each environment. The details of each token is environment specific.
Public propertyDefaultEnvironment
Gets the default test environment.
Public propertyStatic memberDefaultProfile
Gets the instance.
Public propertyDescription
Gets or sets the description.
Public propertyEnabledServers
Gets or sets the enabled servers.
Public propertyEnvironments
ALL Test environments used.
Public propertyEnvironmentVariables
The Name of all environment variables. This list contains only Names, the values are stored in each environment;
Public propertyIsInMemoryProfile
Gets or sets a value indicating whether this instance is an in memory profile. In memory profiles are not saved independently from the file system but is used to embedded with other object such as Automation Project and Performance Test Project.
Public propertyName
Gets or sets the name of the current profile;
Public propertySavedResponses
Gets or sets the saved responses.
Public propertyServiceParameters
Gets or sets the service parameters.
Public propertySystemVariables
The Name of all system variables. This list contains only Names, the values are stored in each environment;
Top
Methods
  NameDescription
Public methodClone
Clones this instance.
Public methodStatic memberDeleteProfile
Deletes the profile.
Public methodStatic memberDuplicate
Duplicates the specified Profile.
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 methodGetCredential
Get the credential from active test environment with Name
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetProfile
Gets the Profile from it's name
Public methodGetSavedResponses
Gets the saved responses.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberImportFrom
Imports a Profile from given location (Full Local or UNC Path)
Public methodLoadServiceParameters
Loads the service parameters.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNotifySettingsChanged
Notifies the settings changed.
Public methodSave
Saves this instance.
Public methodSave(String)
Saves the specified path.
Public methodSaveServiceParameter
Saves the service parameter.
Public methodSetActiveEnvironment(String)
Sets the active environment.
Public methodSetActiveEnvironment(TestEnvironment)
Sets the active test environment.
Public methodSync
Synchronizes the environment variables, system variables and credential between environments.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when The property value has been changed
Public eventSettingsChanged
Occurs when [settings changed].
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