diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-03-23 11:58:14 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-03-23 11:58:14 +0100 |
commit | 8859d9f6d81f276b97f5c3c5b7f59d7bb8af859a (patch) | |
tree | bd0704d65ad9c5d9fc6ade5b565e6c187c0ba9e8 /testautomation/dbaccess/required/includes | |
parent | 773a40f8495978fb07e20c4e657b41131819229c (diff) | |
parent | 6cfc5620c18a2cef95368d6d1437281abdb67b69 (diff) |
CWS-TOOLING: integrate CWS autorecovery
Diffstat (limited to 'testautomation/dbaccess/required/includes')
-rwxr-xr-x[-rw-r--r--] | testautomation/dbaccess/required/includes/DatabaseTypes.inc | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/testautomation/dbaccess/required/includes/DatabaseTypes.inc b/testautomation/dbaccess/required/includes/DatabaseTypes.inc index f16e0794d36b..02c8d29b63c7 100644..100755 --- a/testautomation/dbaccess/required/includes/DatabaseTypes.inc +++ b/testautomation/dbaccess/required/includes/DatabaseTypes.inc @@ -318,7 +318,7 @@ testcase tEvolutionProperties Kontext "TabGeneral" call DialogTest(TabGeneral) try - if ( DatabaseType.getItemCount() > 12 ) then + if ( isDriverInstalled("sdbc:address:evolution:ldap")) then DataBaseType.select(hGetDatabaseDisplayName("sdbc:address:evolution:ldap")) Kontext "ConnectionType" ConnectionType.OK @@ -359,13 +359,26 @@ testcase tMozillaProperties Kontext "TabGeneral" call DialogTest(TabGeneral) - DataBaseType.select(hGetDatabaseDisplayName("sdbc:address:mozilla:")) + try + if ( isDriverInstalled("sdbc:address:mozilla:")) then + DataBaseType.select(hGetDatabaseDisplayName("sdbc:address:mozilla:")) + Kontext "ConnectionType" + ConnectionType.OK + else + qaerrorlog "Mozilla does not appear to be available on this system" + Kontext "ConnectionType" + ConnectionType.Cancel + endif + catch + warnlog "failed to select DataBaseType Mozilla - maybe not installed or activated in this build" + TabGeneral.Cancel + call fCloseDatabase + goto endsub + endcatch + 'add sleep to give OOo time to react sleep(2) - - Kontext "ConnectionType" - ConnectionType.OK 'call fCheckAdvancedDialog("Mozilla") |