ResourcePathType Property
Supported in versions 23.4 and later.
Description
Instructs OpenText Functional Testing to use an absolute path, a relative path, or display a prompt every time you add a resource to your test.
Property type
Read-write property
Syntax
Visual Basic |
---|
Public Property ResourcePathType As Integer |
Return value
- 0: Always saves a resource added to your test with a relative path.
- 1: Always saves a resource added to your test with an absolute path.
- 2: Displays a prompt every time you add a resource to your test.
Remarks
You can set or retrieve the value of this property using the following syntax:
FoldersObject.ResourcePathType = Value
or
Value = FoldersObject.ResourcePathType
Example
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim qtTest 'As QuickTest.Test ' Declare a Test object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch
qtApp.Visible = True
qtApp.Folders.ResourcePathType = 0
See Also