summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-12-04 19:08:12 +0100
committerKurt Zenker <kz@openoffice.org>2009-12-04 19:08:12 +0100
commita8dd183cc609177551403822375e7c2eef4d3ffa (patch)
tree0aef7ec8cf2b77e6d63c60db2421ee1c9165784e
parent7549e5e74ffabf29186f7e5d60ac597d8a2f09f5 (diff)
parent7a3f18d9efe9d57117fb213c4c93cf2fe154d18c (diff)
CWS-TOOLING: integrate CWS automationooo320m6_DEV300ooo/DEV300_m67
-rwxr-xr-xtestautomation/extensions/optional/includes/publisher.inc3
-rwxr-xr-xtestautomation/framework/required/includes/basic_dialog_i18n_import.inc17
-rwxr-xr-xtestautomation/global/input/accelerators.txt1
3 files changed, 15 insertions, 6 deletions
diff --git a/testautomation/extensions/optional/includes/publisher.inc b/testautomation/extensions/optional/includes/publisher.inc
index 8bfd7ad40..9af9abb7b 100755
--- a/testautomation/extensions/optional/includes/publisher.inc
+++ b/testautomation/extensions/optional/includes/publisher.inc
@@ -39,9 +39,6 @@
testcase tExtensionPublisher
- warnlog( "#i106766# - Crash when cancelling extension update" )
- goto endsub
-
printlog( "Extension Manager and Release Notes" )
if ( gISOLang <> "en-US" ) then
diff --git a/testautomation/framework/required/includes/basic_dialog_i18n_import.inc b/testautomation/framework/required/includes/basic_dialog_i18n_import.inc
index b1567c889..eaba27131 100755
--- a/testautomation/framework/required/includes/basic_dialog_i18n_import.inc
+++ b/testautomation/framework/required/includes/basic_dialog_i18n_import.inc
@@ -39,12 +39,15 @@
testcase tBasicDialogI18nImport
- printlog( "Dialogs that show up when importing Multi locale dialogs into BASIC IDE" )
+ printlog( "Dialogs that show up when importing multi locale dialogs into BASIC IDE" )
dim cDialogPath as string
cDialogPath = gTesttoolPath & "framework\required\input\basic_ide\Dialog5.xdl"
cDialogPath = convertpath( cDialogPath )
+ dim iNumberOfLanguages as integer
+ dim iTry as integer
+
const LANGUAGE_COUNT = 5
printlog( "Open BASIC-IDE" )
@@ -85,12 +88,20 @@ testcase tBasicDialogI18nImport
sleep(1)
Kontext "TranslationBar"
if ( TranslationBar.exists() ) then
+
+ for iTry = 1 to 5
+ iNumberOfLanguages = CurrentLanguage.getItemCount()
+ if ( iNumberOfLanguages = LANGUAGE_COUNT ) then
+ exit for
+ endif
+ wait( 100 )
+ next iTry
printlog( "Check number of imported languages" )
- if ( CurrentLanguage.getItemCount() <> LANGUAGE_COUNT ) then
+ if ( iNumberOfLanguages <> LANGUAGE_COUNT ) then
warnlog( "Incorrect language count in listbox <CurrentLanguage>" )
printlog( "Expected: " & LANGUAGE_COUNT )
- printlog( "Found...: " & CurrentLanguage.getItemCount() )
+ printlog( "Found...: " & iNumberOfLanguages )
endif
Kontext "DialogBar"
diff --git a/testautomation/global/input/accelerators.txt b/testautomation/global/input/accelerators.txt
index 1f1d88214..cb518c9e3 100755
--- a/testautomation/global/input/accelerators.txt
+++ b/testautomation/global/input/accelerators.txt
@@ -158,6 +158,7 @@ ko-KR=mod2 u
zh-CN=mod2 u
zh-TW=mod2 u
sl=mod2 i
+cs=mod2 a
# This is the accelerator that switches tabs in the BASIC IDE. I found it by accident