CheckIn Method

Supported in UFT One version 2022 and later.

Description

Checks in an application area to the ALM version control system.

Syntax

Visual Basic
Public Sub CheckIn()

Remarks

This method does not save the application area before checking it in. If the application area must be saved before check-in, make sure that the automation script calls the AppArea.Save method before the CheckIn method.

Example

The following example first checks out an application area, adds a function library to the application area, saves and then checks in the application area.

Copy code
uftApp.OpenAppArea "[ALM\Resources] Resources\manual\AA\AA-version"
uftApp.AppArea.CheckOut
Set AAFunctionLibraries = uftApp.AppArea.Resources.Libraries ' Get the libraries collection object
Dim file1
file1 = "[ALM\Resources] Resources\manual\Add FL to AA\FL2.qfl|[ALM] Subject\manual\FL to AA\FL7.qfl"
AAFunctionLibraries.Add (file1)
uftApp.AppArea.Save
uftApp.AppArea.CheckIn

See Also

AppArea Object | AppArea Object Members