NewAppArea Method

Supported in UFT One 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

ParameterDescription

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 UFT One is not already running when the NewAppArea method is called, UFT One is automatically started.

Example

The following example creates a new application area.

Copy code
uftApp.NewAppArea "[ALM\Resources] Resources\manual\AA"
uftApp.AppArea.Save

See Also

Application Object  | Application Members