Export Method

Supported in version 2023 and later.

Description

Exports the folders search list from OpenText Functional Testing to your local computer.

Syntax

Visual Basic
Public Sub Export( _
   ByVal FolderPath As String, _
) 

Parameters

FolderPathThe full path for storing the exported search list file.

Example

Export the folders search list

Copy code
'Open UFT One
Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object
qtApp.Launch 'Start the testing application
qtApp.Visible = True 'Make the application visible

strPath = "C:\Users\_ft_auto_admin\Desktop\test1.json"
'Locate the folder

qtApp.Folders.Export strPath

Set qtApp = Nothing 'Release the Application object

See Also

FoldersOptions Collection