Import Method
Supported in version 2023 and later.
Description
Imports a folders search list file to OpenText Functional Testing.
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 OpenText Functional Testing. |
Example
Import a folders list file
' Open UFT One
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start the testing application
qtApp.Visible = True ' Make the testing 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