NewBusinessComponent Method

Description

Creates a new business component.

Syntax

Visual Basic
Public Sub NewBusinessComponent( _
   Optional ByVal SaveCurrent/SaveAll As Boolean = False _
) 

Parameters

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 creating and opening a new business component. Default=False.

SaveAll

Versions 2022 and later

Indicates whether to save changes for all open tests, components, and application areas in the currently open solution before creating and opening a new business component. Default=False.

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 create a new test, use the New method. To create a new application area, use the NewAppArea method.

You can enter an Application.NewBusinessComponent statement without an Application.Launch statement. If OpenText Functional Testing is not already running when the NewBusinessComponent method is called, OpenText Functional Testing is automatically started.

Example

Create a New Business Component

See Also

Application Object