summaryrefslogtreecommitdiff
path: root/testautomation/dbaccess/tools/querytools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/dbaccess/tools/querytools.inc')
-rwxr-xr-xtestautomation/dbaccess/tools/querytools.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/testautomation/dbaccess/tools/querytools.inc b/testautomation/dbaccess/tools/querytools.inc
index 29416dac7bf3..7dc3d7278938 100755
--- a/testautomation/dbaccess/tools/querytools.inc
+++ b/testautomation/dbaccess/tools/querytools.inc
@@ -258,10 +258,7 @@ function fSaveQueryDesign(sName as String)
sleep(1)
Kontext "QueryDesignTable"
- QueryDesignTable.UseMenu
-
- hMenuSelectNr(1) ' the file menu
- hMenuSelectNr(6) ' the save
+ DatabaseSave
Kontext "DatabaseTableSaveAs"
TableName.setText(sName)
@@ -278,11 +275,9 @@ function fSaveSQLQueryDesign(sName as String)
'/// <u>parameter:</u> the name of query
sleep(1)
+
Kontext "QueryEditWindow"
- QueryEditWindow.UseMenu
-
- hMenuSelectNr(1) ' the file menu
- hMenuSelectNr(6) ' the save
+ DatabaseSaveAs
Kontext "DatabaseTableSaveAs"
TableName.setText(sName)