Commits

Kurt Zenker  committed 3b23c95 Merge

CWS-TOOLING: integrate CWS automationooo320m6_DEV300

  • Participants
  • Parent commits b0f160a, 5c03503

Comments (0)

Files changed (3)

File testautomation/extensions/optional/includes/publisher.inc

 
 testcase tExtensionPublisher
 
-    warnlog( "#i106766# - Crash when cancelling extension update" )
-    goto endsub
-
     printlog( "Extension Manager and Release Notes" )
 
     if ( gISOLang <> "en-US" ) then

File testautomation/framework/required/includes/basic_dialog_i18n_import.inc

 
 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" )
                 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"

File testautomation/global/input/accelerators.txt

 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