diff options
author | Oliver Craemer [oc] <oliver.craemer@oracle.com> | 2011-01-17 13:31:07 +0100 |
---|---|---|
committer | Oliver Craemer [oc] <oliver.craemer@oracle.com> | 2011-01-17 13:31:07 +0100 |
commit | 32e427257a3241b12ca9f9e293753b935f0676d8 (patch) | |
tree | 583b7abdef94891f4de1cb04cf7457891e898059 /testautomation | |
parent | 35c0ef207e83e40704effbefa18a2a78bf88ac8e (diff) |
#i116394# adapt autotest for removed binfilterexport
Diffstat (limited to 'testautomation')
-rw-r--r-- | testautomation/chart2/required/ch2_updt_calc.bas | 2 | ||||
-rw-r--r-- | testautomation/chart2/required/includes/ch2_file.inc | 77 |
2 files changed, 0 insertions, 79 deletions
diff --git a/testautomation/chart2/required/ch2_updt_calc.bas b/testautomation/chart2/required/ch2_updt_calc.bas index 02cc2c883269..e04d0ab2a70c 100644 --- a/testautomation/chart2/required/ch2_updt_calc.bas +++ b/testautomation/chart2/required/ch2_updt_calc.bas @@ -71,8 +71,6 @@ sub main call tFileSaveAsSTC call tFileSaveAsXLS call tFileSaveAsXLT - call tFileSaveAsSDC - call tFileSaveAsVOR call tFileReload printLog Chr(13) + "---------- Chart2 View Menu -----------" Call tViewToolbars diff --git a/testautomation/chart2/required/includes/ch2_file.inc b/testautomation/chart2/required/includes/ch2_file.inc index f7166df9c82e..51e41398532e 100644 --- a/testautomation/chart2/required/includes/ch2_file.inc +++ b/testautomation/chart2/required/includes/ch2_file.inc @@ -37,8 +37,6 @@ ' #1 tFileSaveAsSTC ' #1 tFileSaveAsXLS ' #1 tFileSaveAsXLT -' #1 tFileSaveAsSDC -' #1 tFileSaveAsVOR ' #1 tFileReload '* '\************************************************************************ @@ -295,82 +293,7 @@ testcase tFileSaveAsXLT endcase ' '------------------------------------------------------------- -' -testcase tFileSaveAsSDC -'///<u><b>Save the test file as StarCalc 5.0 (.sdc)</b></u> - Dim sOutputFile as string - - sOutputFile = convertpath( gOfficepath & "user/work/verySimpleChart.sdc" ) - '/// Load simple chart document - if fLoadVerySimpleChartAndSaveLocal() > 0 then - warnlog "Loading test document seems to have failed -> Check this out!" - goto endsub - endif - '/// Select chart using navigator - call fSelectFirstOLE - '/// Invoke Edit::Object::Edit to enter Inplace Mode - EditObjectEdit - '/// Convert chart to 3D (just to edit document) - if NOT fConvertChartTo3D() then - warnlog "Conversion of chart to 3D failed -> Quit testcase" - Call hCloseDocument - goto endsub - endif - '/// Unselect chart using Escape key - Kontext "DocumentCalc" - DocumentCalc.TypeKeys "<Escape>" - '/// Save document as StarCalc 5.0 (.sdc) - if NOT hFileSaveAsWithFilterKill ( sOutputFile , "StarCalc 5.0" ) then - warnlog "Saving test document as '" & sOutputFile & "' failed -> Aborting" - call hCloseDocument - goto endsub - endif - '/// Close document - Kontext "DocumentCalc" - DocumentCalc.TypeKeys "<Escape>" - Call hCloseDocument -endcase -' -'------------------------------------------------------------- -' -testcase tFileSaveAsVOR -'///<u><b>Save the test file as StarCalc 5.0 Template(.vor)</b></u> - Dim sOutputFile as string - - sOutputFile = convertpath( gOfficepath & "user/work/verySimpleChart.vor" ) - - '/// Load simple chart document - if fLoadVerySimpleChartAndSaveLocal() > 0 then - warnlog "Loading test document seems to have failed -> Check this out!" - goto endsub - endif - '/// Select chart using navigator - call fSelectFirstOLE - '/// Invoke Edit::Object::Edit to enter Inplace Mode - EditObjectEdit - '/// Convert chart to 3D (just to edit document) - if NOT fConvertChartTo3D() then - warnlog "Conversion of chart to 3D failed -> Quit testcase" - Call hCloseDocument - goto endsub - endif - '/// Unselect chart using Escape key - Kontext "DocumentCalc" - DocumentCalc.TypeKeys "<Escape>" - '/// Save document as StarCalc 5.0 Template(.vor) - if NOT hFileSaveAsWithFilterKill ( sOutputFile , "StarCalc 5.0 Vorlage/Template" ) then - warnlog "Saving test document as '" & sOutputFile & "' failed -> Aborting" - call hCloseDocument - goto endsub - endif - '/// Close document - Kontext "DocumentCalc" - DocumentCalc.TypeKeys "<Escape>" - Call hCloseDocument -endcase -' -'------------------------------------------------------------- ' testcase tFileReload printlog "Load simple chart document" |