NewAppArea Method
Supported in versions 2022 and later.
Description
Creates a new application area.
Syntax
Visual Basic |
---|
Public Sub NewAppArea( _ ByVal AppAreaPath As String _ Optional ByVal SaveAll As Boolean = False _ ) |
Parameters
Parameter | Description |
---|---|
AppAreaPath | The full ALM path of the new application area. |
SaveAll | Indicates whether to save changes for all open tests, components, and application areas in the currently open solution before creating and opening a new application area. Default=False. |
Remarks
This method is valid only for application areas and only when you are connected to an ALM project with Business Process Testing support. To create a new test, use the New method. To create a new business component, use the NewBusinessComponent method.
You can enter an Application.NewAppArea statement without an Application.Launch statement. If OpenText Functional Testing is not already running when the NewAppArea method is called, OpenText Functional Testing is automatically started.
Example
The following example creates a new application area.
uftApp.NewAppArea "[ALM\Resources] Resources\manual\AA"
uftApp.AppArea.Save
See Also