summaryrefslogtreecommitdiff
path: root/testautomation/dbaccess/optional
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/dbaccess/optional')
-rwxr-xr-x[-rw-r--r--]testautomation/dbaccess/optional/includes/db_hsqldb.inc4
-rwxr-xr-xtestautomation/dbaccess/optional/includes/frm_FormFilter.inc10
2 files changed, 11 insertions, 3 deletions
diff --git a/testautomation/dbaccess/optional/includes/db_hsqldb.inc b/testautomation/dbaccess/optional/includes/db_hsqldb.inc
index 979f0e3e5f29..3ad3016a9eb3 100644..100755
--- a/testautomation/dbaccess/optional/includes/db_hsqldb.inc
+++ b/testautomation/dbaccess/optional/includes/db_hsqldb.inc
@@ -33,12 +33,14 @@
sub db_hsqldb
call tGeneral
+ call ExitRestartTheOffice
call tRenameTable
call tOpenDatabaseWithViews
call tRenameTableWhichUsedInViews
call tQueryOpenInSQLMode
-
+ call ExitRestartTheOffice
+
app.FileCopy gTesttoolPath + ConvertPath("dbaccess/optional/input/hsql_datasource/TT_hsqldb.odb") , gOfficePath + ConvertPath("user/work/TT_hsqldb.odb")
call db_Query(gOfficePath + "user/work/TT_hsqldb.odb" ,"hsqldb")
diff --git a/testautomation/dbaccess/optional/includes/frm_FormFilter.inc b/testautomation/dbaccess/optional/includes/frm_FormFilter.inc
index b8e3ccc2d896..52579da2e15b 100755
--- a/testautomation/dbaccess/optional/includes/frm_FormFilter.inc
+++ b/testautomation/dbaccess/optional/includes/frm_FormFilter.inc
@@ -58,7 +58,9 @@ testcase tLoadForm
FM_FormFilter_Start
wait(1000)
'/// insert 2 in the first textbox
- printlog "insert 2 in the first textbox"
+ printlog "insert 2 in the first textbox"
+ DocumentWriter.TypeKeys "<MOD1 F5>" , true
+ sleep(1)
DocumentWriter.TypeKeys "2" , true
'DocumentWriter.TypeKeys "<RETURN>" , true
wait(1000)
@@ -91,7 +93,11 @@ testcase tLoadForm
FM_FormFilter_Start
wait(1000)
'/// insert into the second textbox like '%2'
- printlog "insert into the second textbox like '%2'"
+ printlog "insert into the second textbox like '%2'"
+ DocumentWriter.TypeKeys "<MOD1 F5>" , true
+ sleep(1)
+ DocumentWriter.TypeKeys "<TAB>" , true
+ sleep(1)
DocumentWriter.TypeKeys "like '%2'" , true
wait(1000)
'/// execute the filter