RuntimeManagerSearchPath Property |
Namespace: OpenTestSystem.Otx.Runtime.Api
The OTX search path (OTX-Home) determines the base directory to which all relative path specifications refer. It can contain several directories separated by semicolons (";") and the placeholders "?" (One arbitrary character) and "*" (any characters). You can also use the placeholder [ProjectDir] (e.g. [ProjectDir]/*) with the following semantic:
Scope | Path which [ProjectDir] refers | Sample path |
---|---|---|
Within OTF | Directory of the project inside OTF solution | C:/Users/NN/Documents/Open Test Framework/OtxSolution1/OtxProject1 |
Runtime API uses PTX file | Directory of PTX file location | c:/Users/NN/Documents/Open Test Framework |
Runtime API uses OTX file | Directory of OTX file location | c:/Users/NN/Documents/Open Test Framework |
Runtime API uses binary file (DLL, JAR) | Directory of the binary file location | c:/Users/NN/Documents/Open Test Framework |
While file reading operations with relative paths, the runtime environment takes each directory starting from the left as a base for relative paths. If the file is found, the search is canceled.
For file writing operations with relative paths, the first directory is used. The first directory shall exists and shall not contain wildcards.
If no OTX search path is specified, the default value [ProjectDir];[ProjectDir]/.. is used.