ConfigFile Property
Description
The path of the configuration file used by the log mechanism.
Property type
Read-write property
Syntax
Visual Basic
Public Property ConfigFile As String
Return Type

Possible configuration file types:

  • *.XML
  • *.CONFIG
  • *.LOG4NET
Remarks

  • UFT can receive log messages from multiple applications simultaneously, but can auto-configure only one of them. Therefore, if there are multiple configuration files (for example, if the test or component is validating more than one application - each with its own configuration file), UFT One modifies only the file specified in this property. If you need to configure multiple files, do so manually.
  • LogTracking properties can be set only before a run session begins. Therefore, if you use this automation property within a UFT One test or component, you can only retrieve the value.
Example
See Also