Creates a new business component.
Public Sub NewBusinessComponent( _ Optional ByVal SaveCurrent/SaveAll As Boolean = False _ )
UFT One 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.
UFT One 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.
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 UFT One is not already running when the NewBusinessComponent method is called, UFT One is automatically started.