Public Property EnableAutoConfig As Boolean
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.
- All logging prerequisites must be met, for example, you may need to set registry values that are specific to your application.
- The log framework's configuration file must be writable and in a location that UFT One can access.
- Your application's log framework must be configured to use the same file you specify in the ConfigFile property.
- Your application's log framework must be able to monitor changes in the configuration file. If not, then you must make sure that your application always starts after the run session begins so that UFT One can modify the configuration file. For details on starting your application, see the SystemUtil.Run topic in the UFT One Object Model Reference. You can also use any standard VB Script command that starts an application.