12-24-2014 01:24 AM
I am trying to programatically Enable and Disable database logging. Database is set to disable from Configure>Result Processing..., I write to Parameters.ModelPluginConfiguration.Plugins[1].PluginSpecific.Options.DisableDatabaseLogging value of False. This does not enables database and nothing gets comitted. All this customization is done in PreUUT.
Also need to have a precondition to find if a Parameter exists.
PropertyExists("Parameters.ModelPluginConfiguration.Plugins[Locals.DatabaseIndex].PluginSpecific.Options.DisableDatabaseLogging")
But the above always returns False. Need to receive True when Locals.DatabaseIndex is set to 1 as that is the location of Database under Configure>>ResultProcessing.
Thanks.
01-12-2015 08:50 AM
Your lookup string is wrong. It has to look like this:
PropertyExists("Parameters.ModelPluginConfiguratio
hope this helps,
Norbert