PathFinder Object
Description
Enables you to find file paths.
Methods
Locate | Returns the full file path that OpenText Functional Testing uses for the specified relative path (resolves the path) based on the folders specified in the Folders search list (Tools > Options > GUI Testing tab > Folders pane) of the Options dialog box. |
Locate Method
Description
Returns the full file path that OpenText Functional Testing uses for the specified relative path (resolves the path) based on the folders specified in the Folders search list (Tools > Options > GUI Testing tab > Folders pane) of the Options dialog box.
For more details on the Folders search list, see the OpenText Functional Testing User Guide.
Syntax
PathFinder.Locate (RelativePath)
Argument | Type | Description |
---|---|---|
RelativePath | String | The relative path you want to resolve. |
Return Value
String
The following example uses the Locate method to find the path in which the MyEnvFile.txt file is located.
y=PathFinder.Locate ("MyEnvFile.txt")
See also:
- Crypt Object
- DataTable Object
- Description Object
- DeviceReplay Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern Object
- Parameter Object
- JSON Object
- JsonUtil Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- NV Object
- OptionalStep Object
- ParallelUtil Object
- LocalParameter Object
- PasswordUtil Object
- PathFinder Object
- PDFUtil Object
- Properties Object (Collection)
- QCUtil Object
- RandomNumber Object
- Recovery Object
- Remote Connection Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting Object
- SystemMonitor Object
- TestArgs Object
- TextUtil Object
- UIAutomation Object
- VisualRelation Object
- VisualRelations Object
- VisualRelationsCollection Object
- WebUtil Object
- XMLUtil Object