summaryrefslogtreecommitdiff
path: root/testautomation/spreadsheet
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-10-20 09:14:06 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-10-20 09:14:06 +0200
commitebfb11ec61016f9185a555b3908094933ee16534 (patch)
treed06801dc211ad2640a355fcd2243905e0fad7d46 /testautomation/spreadsheet
parent72cf964ce3b0b3e017d9ebe2f9f67483a79f345e (diff)
automationdev300m87: #i112208 - hOpenFileLocally started
Diffstat (limited to 'testautomation/spreadsheet')
-rw-r--r--testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc b/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc
index 62057f32c798..6d57e1f13fcf 100644
--- a/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc
+++ b/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc
@@ -204,6 +204,7 @@ testcase tArrayconstants01
'///Close Document
printlog "Close Document"
call hCloseDocument
+ hFileDelete( sLocalFile )
endcase
'
@@ -212,13 +213,11 @@ endcase
testcase tArrayconstants02
Dim sImportFile as string
- Dim sLocalFile as string
Dim sFunctionSUM as string
Dim sFunctionMDETERM as string
Dim sCellcontent as string
sImportFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/arrayconstants.xls" )
- sLocalFile = convertpath ( gOfficepath & "user/work/arrayconstants.xls" )
sFunctionSUM = fFunctionName ("SUM")
sFunctionMDETERM = fFunctionName ("MDETERM")
@@ -260,7 +259,7 @@ testcase tArrayconstants02
'/// Save document back to xls locally
printlog "Save document back to xls locally"
- call hFileSaveAsKill ( slocalfile )
+ call hFileSaveAsKill ( gLastWorkFile )
'/// Close document
printlog "Close document"
@@ -268,7 +267,7 @@ testcase tArrayconstants02
'/// Load Document
printlog "Load Document"
- call hFileOpen ( slocalfile )
+ call hFileOpen ( gLastWorkFile )
sleep (2)
'///Check that all cellvalues are the same as before
@@ -308,5 +307,6 @@ testcase tArrayconstants02
'///Close document
printlog "Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase