OpenBusinessComponent Method
Description
Opens an existing business component.
Syntax
Visual Basic |
---|
Public Sub OpenBusinessComponent( _ ByVal BusinessComponentPath As String, _ Optional ByVal OpenInReadOnlyMode As Boolean = False, _ Optional ByVal SaveCurrent/SaveAll As Boolean = False _ ) |
Parameters
BusinessComponentPath | The full ALM path of the business component. |
OpenInReadOnlyMode | Indicates whether to open the component in read-only mode.
|
SaveCurrent (Versions 2021 R1 and earlier) | Indicates whether to save changes for the selected open test, component, or application area in the currently open solution before opening the specified component.
|
SaveAll (Versions 2022 and later) | Indicates whether to save changes for all open tests, components, and application areas in the currently open solution before opening the specified component.
|
Remarks
This method is valid only for business components and only when you are connected to an ALM project with Business Process Testing support. To open a test, use the Open method. To open an application area, use the OpenAppArea method.
You can enter an Application.OpenBusinessComponent statement without an Application.Launch statement. If OpenText Functional Testing is not already running when the OpenBusinessComponent method is called, OpenText Functional Testing is automatically started.
Example
See Also