Interface ITypeRegistry
The OpenText Functional Testing for Developers SDK registry.
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITypeRegistry
Methods
GetSupportedTechnologies()
Returns an enumerable string containing a list of supported technologies in the OpenText Functional Testing for Developers SDK.
Declaration
IEnumerable<string> GetSupportedTechnologies()
Returns
| Type | Description |
|---|---|
| IEnumerable<string> |
GetTestObjectMetadata(string, string)
Returns the metadata for test objects represented by the specified test object type.
Declaration
TestObjectMetadata GetTestObjectMetadata(string technologyName, string leanFtTypeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | technologyName | The name of the technology for the specified type. |
| string | leanFtTypeName | The test object type. |
Returns
| Type | Description |
|---|---|
| TestObjectMetadata | The HP.LFT.SDK.TestObjectMetadata of the test object represented by the provided OpenText Functional Testing for Developers type. |
Remarks
Throws TechnologyNotSupportedException if the specified 'technologyName' is not supported. Throws TypeNotRegisteredException if the specified 'leanFtTypeName' is not registered.
GetTestObjectMetadataByTechnology(string)
Returns all test object metadata objects supported by the specified technology.
Declaration
IEnumerable<TestObjectMetadata> GetTestObjectMetadataByTechnology(string technologyName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | technologyName | The name of the technology. |
Returns
| Type | Description |
|---|---|
| IEnumerable<TestObjectMetadata> | A collection of HP.LFT.SDK.TestObjectMetadata objects registered for the specified technology. |
Remarks
Throws TechnologyNotSupportedException if the specified 'technologyName' is not supported.