summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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