EnvironmentDescription Class
An object describing the environment that the test requires, in capability name-value pairs.
public class EnvironmentDescription : PropertiesDescription, IDescription
System.Object
HP.LFT.SDK.PropertiesDescription
HP.LFT.SDK.EnvironmentDescription
Name | Description | |
---|---|---|
![]() | EnvironmentDescription Constructor | Creates an instance of EnvironmentDescription. C# Syntax
public EnvironmentDescription() |
Name | Description | |
---|---|---|
![]() | Clone | Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription ) |
![]() ![]() | FromDictionary | Creates a new instance of EnvironmentDescription and initializes it with the specified dictionary of capabilities. For details on how to describe the capabilities, see Build an environment description in the OpenText Functional Testing for Developers Help Center. C# Syntax public static EnvironmentDescription FromDictionary( IDictionary<string,object> capabilities ) Parameters
Return Value A new instance of EnvironmentDescription initialized with the specified capabilities. |
![]() | Get | Returns the current value of an EnvironmentDescription capability. C# Syntax public object Get( string capability ) Parameters
Return Value The current value of an EnvironmentDescription capability. |
![]() | Set | Sets an EnvironmentDescription capability to the specified value. C# Syntax public EnvironmentDescription Set(string capability, object value) Parameters
Return Value The updated description instance (builder pattern). |