From 997788c91a8153a372a56274ee52d5cd20f278e2 Mon Sep 17 00:00:00 2001 From: Joerg Skottke Date: Thu, 26 Nov 2009 15:23:39 +0000 Subject: automationooo320m6: #i107212# - Added accelerator for cs as suggested by xlastovi --- testautomation/global/input/accelerators.txt | 1 + 1 file changed, 1 insertion(+) 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 -- cgit From 6cf33af6795bee108b8f31efd1576d92c05ff1d1 Mon Sep 17 00:00:00 2001 From: Joerg Skottke Date: Fri, 27 Nov 2009 12:10:52 +0000 Subject: automationooo320m6: #i107266# - Try to avoid flase warning because of delayed listbox fillage (is this correct english?) --- .../required/includes/basic_dialog_i18n_import.inc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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 " ) printlog( "Expected: " & LANGUAGE_COUNT ) - printlog( "Found...: " & CurrentLanguage.getItemCount() ) + printlog( "Found...: " & iNumberOfLanguages ) endif Kontext "DialogBar" -- cgit From 40fbb2ca19a54b6630e4f8cee9b6a71ad8b94363 Mon Sep 17 00:00:00 2001 From: Joerg Skottke Date: Mon, 30 Nov 2009 12:04:34 +0000 Subject: Remove invalid warning from testcase --- testautomation/extensions/optional/includes/publisher.inc | 3 --- 1 file changed, 3 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 -- cgit