Apache OpenOffice (AOO) Bugzilla – Issue 94916
w_001a.inc: testcase tFileTemplatesAddressbookSource
Last modified: 2013-08-07 15:07:56 UTC
You have a wrong if ... then ... else-loop which always let x86 (x86 Solaris) and sol (SPARC Solaris) run into a warning. Also "UseBindings" is deprecated and can be removed. The fix - remove the wrong statement and the test case looks like this: testcase tFileTemplatesAddressbookSource PrintLog " Open new document" Call hNewDocument PrintLog " File / Templates /Address Book Source..." FileTemplatesAddressbookSource WaitSlot(2000) PrintLog " In 'Address Book Assignement' dialog click pushbutton 'Administrate'" Kontext "AddressbookSource" if AddressbookSource.Exists then Call DialogTest (AddressbookSource) Administrate.Click Sleep 2 PrintLog " Close 'Data Source Administration' with 'Cancel'" Kontext "DatabaseProperties" if Not DatabaseProperties.Exists then Kontext "AddressSourceAutopilot" if AddressSourceAutopilot.Exists then AddressSourceAutopilot.Cancel end if Kontext "AddressbookSource" AddressbookSource.Cancel else PrintLog " DatabaseProperties.SetPage TabConnection" Kontext "TabConnection" Call DialogTest ( TabConnection ) Kontext "DatabaseProperties" DatabaseProperties.Close Kontext "AddressbookSource" PrintLog " Close dialog" AddressbookSource.Cancel end if else Warnlog "Somethine wrong with Adress Source Autopilot - Check it." PrintLog " Close dialog" Kontext "AddressbookSource" AddressbookSource.Cancel end if printlog " Close active document" Call hCloseDocument endcase
cc'ing hde
Already seen, but thanks.
verified.