Import Method
Supported in UFT One version 2023 and later.
Description
Imports a folders search list file to UFT One.
Syntax
Visual Basic |
---|
Public Sub Import( _ ByVal FolderPath As String, _ ) |
Parameters
FolderPath | The full path of the folders list file that you want to import to UFT One. |
Example

' Open UFT One
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start UFT One
qtApp.Visible = True ' Make the UFT One application visible
strPath = "C:\Users\_ft_auto_admin\Desktop\2.json" ' Locate the folder
qtApp.Folders.Import strPath
Set qtApp = Nothing ' Release the Application object
See Also