FoldersOptions Collection
Description
You use this object both for configuring the folders search list and for finding (resolving) relative paths.
Remarks
You can click the Generate Script button in the General pane of GUI Testing tab in the Options dialog box to automatically generate an automation script containing the current global testing options, including those represented by the FoldersOptions object.
Example
Public Methods
Add | Adds the specified folder path to a specified position. |
(Versions 2023 and later) | Exports the folders search list from OpenText Functional Testing to your local computer. |
Find | Returns the position of the specified item. |
(Versions 2023 and later) | Imports a folders search list file to OpenText Functional Testing. |
Locate | Resolves the specified relative file path and returns its absolute path. |
MoveToPos | Changes the order of the folders by moving an item from its current position to the specified position. |
Remove | Alternatively, you can specify the path you want to remove as a string. |
RemoveAll | Removes all folders from the collection. |
Public Properties
Count | The number of folder paths in the collection. |
Item | Returns the folder path located in the specified position. |
(Versions 23.4 and later) | 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. |
See Also