summaryrefslogtreecommitdiff
path: root/testautomation/chart2/tools/ch_tools_common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/chart2/tools/ch_tools_common.inc')
-rw-r--r--testautomation/chart2/tools/ch_tools_common.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/testautomation/chart2/tools/ch_tools_common.inc b/testautomation/chart2/tools/ch_tools_common.inc
index f6d722fa2a25..ad9f2108f024 100644
--- a/testautomation/chart2/tools/ch_tools_common.inc
+++ b/testautomation/chart2/tools/ch_tools_common.inc
@@ -162,9 +162,7 @@ end function
'
function fOpenTestDocumentAndSelectDataRange(sInputFile as string) as BOOLEAN
fOpenTestDocumentAndSelectDataRange = FALSE
- call hFileOpen(sInputFile)
- sleep(2)
- Call sMakeReadOnlyDocumentEditable()
+ hFileOpenLocally(sInputFile)
'/// Select chart using navigator
printlog "Select chart using navigator"
call fSelectFirstOLE
@@ -191,9 +189,7 @@ end function
'
function fOpenTestDocumentAndInsertChart(sInputFile as string) as BOOLEAN
fOpenTestDocumentAndInsertChart = FALSE
- call hFileOpen(sInputFile)
- sleep(2)
- Call sMakeReadOnlyDocumentEditable()
+ hFileOpenLocally(sInputFile)
Kontext "DocumentCalc"
printlog "Type <STRG+HOME>"
DocumentCalc.TypeKeys "<MOD1 HOME>"