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
  • A specific file system folder path in which you want to save the results for the current test or component. 

  • <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 <UFT installation folder>\Tests\<TestName\<ResX>, where ResX is a unique folder name under the test folder. 

    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 top radio button in the Run dialog box Results Location tab.
  • <TempLocation>--saves the run results in the <System Drive>\Temp\TempResults temporary results folder. This overwrites any results previously saved in this folder.

    This option corresponds to the bottom radio button in the Run dialog box Results Location tab.
Remarks

If no value is specified for the 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