Apache OpenOffice (AOO) Bugzilla – Issue 98741
Usage Tracking: Need reliable way to switch tracking on/off for automation
Last modified: 2009-03-19 09:13:03 UTC
Currently we use a somewhat dirty approach to disable usage tracking during initialization of automated tests. As a consequence we cannot re-enable usage tracking, neither through the UI nor through an API call. The usage tracking feature has to integrate into the office somehow cleanly so that QA automation cann access the featureset through both API and UI. This is a p2, usage tracking feature remains untested until solved.
Target
blocking 90370
fixed in cws oooimprovement3 r267735
@jsk: please verify
Use gExtensionOOoImprovementIsInstalled = TRUE aPropertyValue(0).Value="/org.openoffice.Office.OOoImprovement.Settings/Participation" xViewRoot=oUnoConfigurationAccess.createInstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess",aPropertyValue()) xViewRoot.replaceByName( "ShowedInvitation", true ) xViewRoot.replaceByName( "InvitationAccepted", false ) xViewRoot.commitChanges() xViewRoot.dispose() to disable, set "InvitationAccepted" to TRUE to enable.
Close