ResultsLocation Property
Description
The path in which to store the run results.
Property type
Read-write property
Syntax
Visual Basic
Public Property ResultsLocation As String
Return Type
  • The location in which to save the results for the current test or component. 

    • UFT One 23.4 and earlier: A full file system folder path.

    • UFT One 24.2 and later: A full file system folder path, or a relative path, relative to the test's location.

  • <NewLocation>--saves the run results to a new, default folder. 

    When working with a test in the file system or when running a component from UFT One, the results are saved in <Test Folder>\<ResX>, where ResX is a unique folder name for each run. 

    When working with a test in ALM, the results are saved using the values from the TDRunName, TDTestInstance, and TDTestSet properties.

    This option corresponds to the New run results folder option in the Run dialog box Results Location tab.

  • <TempLocation>--saves the run results in the %TMP%\TempResults temporary results folder (which is usually <System Drive>\Users\<user name>\AppData\Local\Temp\TempResults). This overwrites any results previously saved in this folder.

    This option corresponds to the Temporary run result folder option in the Run dialog box Results Location tab.

Remarks

If no value is specified for the ResultsLocation property, or the property value is an empty string, then the results are saved using the same settings as the previous test run.

The folder must be new, empty, or contain only UFT One test or component files.
Example
See Also