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
commit542dde90f6126e9725e145cc654a83d3ea2fd6ed (patch)
tree01657ff2ffa7e3f622069fc04942983d7223eeb1
parent32d4cef13872befba678e4b190504c61bf6d0633 (diff)
parent40fbb2ca19a54b6630e4f8cee9b6a71ad8b94363 (diff)
CWS-TOOLING: integrate CWS automationooo320m6_DEV300
Notes
split repo tag: testing_ooo/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 8bfd7ad4013b..9af9abb7b69d 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 b1567c889e2d..eaba271319be 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 1f1d88214986..cb518c9e3335 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