diff options
Diffstat (limited to 'testautomation/dbaccess/tools')
-rwxr-xr-x | testautomation/dbaccess/tools/controltools.inc | 4 | ||||
-rwxr-xr-x | testautomation/dbaccess/tools/reporttools.inc | 19 |
2 files changed, 13 insertions, 10 deletions
diff --git a/testautomation/dbaccess/tools/controltools.inc b/testautomation/dbaccess/tools/controltools.inc index ea1423f86ec5..a5efe6aa23ca 100755 --- a/testautomation/dbaccess/tools/controltools.inc +++ b/testautomation/dbaccess/tools/controltools.inc @@ -8,9 +8,9 @@ '* '* $RCSfile: controltools.inc,v $ '* -'* $Revision: 1.1 $ +'* $Revision: 1.1.68.1 $ '* -'* last change: $Author: jsi $ $Date: 2008-06-16 07:43:45 $ +'* last change: $Author: msc $ $Date: 2008/10/28 07:52:48 $ '* '* This file is part of OpenOffice.org. '* diff --git a/testautomation/dbaccess/tools/reporttools.inc b/testautomation/dbaccess/tools/reporttools.inc index 8af89c4e9a4d..7f5de6df44bf 100755 --- a/testautomation/dbaccess/tools/reporttools.inc +++ b/testautomation/dbaccess/tools/reporttools.inc @@ -253,8 +253,8 @@ function fOpenReportNavigator Kontext "ReportDesign" ReportDesign.UseMenu hMenuSelectNr(3) - if (hMenuItemIsChecked(6) = false) then - hMenuSelectNr(6) + if (hMenuItemIsChecked(5) = false) then + hMenuSelectNr(5) else 'nothing endif @@ -287,7 +287,7 @@ function fExecuteReport Kontext "ReportDesign" ReportDesign.UseMenu hMenuSelectNr(2) - hMenuSelectNr(12) + hMenuSelectNr(11) end function '-------------------------------------------------------------------- @@ -315,8 +315,8 @@ function fCloseAddFieldDialog Kontext "ReportDesign" ReportDesign.UseMenu hMenuSelectNr(3) - if (hMenuItemIsChecked(4)) then - hMenuSelectNr(4) + if (hMenuItemIsChecked(3)) then + hMenuSelectNr(3) else warnlog "there should be the Add field dialog. But there is none." endif @@ -334,11 +334,11 @@ function fOpenAddFieldDialog Kontext "ReportDesign" ReportDesign.UseMenu hMenuSelectNr(3) - if (hMenuItemIsChecked(4)) then - hMenuSelectNr(4) + if (hMenuItemIsChecked(3)) then + hMenuSelectNr(3) ReportDesign.UseMenu hMenuSelectNr(3) - hMenuSelectNr(4) + hMenuSelectNr(3) printlog "1" else hMenuSelectNr(4) @@ -387,4 +387,7 @@ function tools_reporttools_InstallExtension tools_reporttools_InstallExtension = 0 endif + ' restart the office + call ExitRestartTheOffice + end function |