summaryrefslogtreecommitdiff
path: root/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc')
-rw-r--r--testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc12
1 files changed, 2 insertions, 10 deletions
diff --git a/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc b/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
index 216551959ded..e5f5e406ce60 100644
--- a/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
+++ b/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
@@ -54,11 +54,7 @@ testcase tgetpivotdata_function_wizard
'/// Load testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/datapilot.ods
printlog "Load testdocument datapilot.ods"
- call hFileOpen ( stestdocument )
- sleep (2)
- '/// If the file is not editable, click the edit button on standardbar
- printlog "If the file is not editable, click the edit button on standardbar"
- sMakeReadOnlyDocumentEditable()
+ call hFileOpenLocally( stestdocument )
'/// Select cell I8 and open function wizard by INSERT FUNCTION
printlog "Select cell I8 and open function wizard by INSERT FUNCTION"
@@ -187,11 +183,7 @@ testcase tgetpivotdata_xls_filter
'/// Load testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/getpivotdata2.xls
printlog "Load testdocument getpivotdata2.xls"
- call hFileOpen ( stestdocument )
- sleep (2)
- '/// If the file is not editable, click the edit button on standardbar
- printlog "If the file is not editable, click the edit button on standardbar"
- call sMakeReadOnlyDocumentEditable
+ call hFileOpenLocally( stestdocument )
'/// Verify that Cell G12 shows 2.5
printlog "Verify that Cell G12 shows 2" & sdecimalseperator & "5"
call fCalcCompareCellValue ("G12","2" & sdecimalseperator & "5")