summaryrefslogtreecommitdiff
path: root/testautomation/writer/tools
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/tools')
-rwxr-xr-x[-rw-r--r--]testautomation/writer/tools/includes/w_locale_strings2.inc27
-rwxr-xr-x[-rw-r--r--]testautomation/writer/tools/includes/w_tool1.inc14
2 files changed, 41 insertions, 0 deletions
diff --git a/testautomation/writer/tools/includes/w_locale_strings2.inc b/testautomation/writer/tools/includes/w_locale_strings2.inc
index a679ecbabc04..73b987fb2c7e 100644..100755
--- a/testautomation/writer/tools/includes/w_locale_strings2.inc
+++ b/testautomation/writer/tools/includes/w_locale_strings2.inc
@@ -47,6 +47,7 @@ function wGetLanguageGuessString(sValue as string, iLanguageCount as integer) as
'///swedish 46 ///'
'///polish 48 ///'
'///german 49 ///'
+ '///slovenian 50 ///'
'///german 55 ///'
'///already covered languages in the test document: ///'
@@ -324,6 +325,32 @@ function wGetLanguageGuessString(sValue as string, iLanguageCount as integer) as
ParagraphPreSet = "Absatz ist Deutsch (Deutschland)"
end select
'-----------------------------------------------------------------------
+ Case 50 'Case 50: slovenian
+ Select Case iLanguageCount
+ Case 1: WordPreSet = "Jezik besede je angleški (ZDA)"
+ ParagraphPreSet = "Jezik odstavka je angleški (ZDA)"
+ Case 2: WordPreSet = "Jezik besede je portugalski (Portugalska)"
+ ParagraphPreSet = "Jezik odstavka je portugalski (Portugalska)"
+ Case 3: WordPreSet = "Jezik besede je ruski"
+ ParagraphPreSet = "Jezik odstavka je ruski"
+ Case 4: WordPreSet = "Jezik besede je nizozemski (Nizozemska)"
+ ParagraphPreSet = "Jezik odstavka je nizozemski (Nizozemska)"
+ Case 5: WordPreSet = "Jezik besede je francoski (Francija)"
+ ParagraphPreSet = "Jezik odstavka je francoski (Francija)"
+ Case 6: WordPreSet = "Jezik besede je španski (Španija)"
+ ParagraphPreSet = "Jezik odstavka je španski (Španija)"
+ Case 7: WordPreSet = "Jezik besede je madžarski"
+ ParagraphPreSet = "Jezik odstavka je madžarski"
+ Case 8: WordPreSet = "Jezik besede je italijanski (Italija)"
+ ParagraphPreSet = "Jezik odstavka je italijanski (Italija)"
+ Case 9: WordPreSet = "Jezik besede je švedski (Švedska)"
+ ParagraphPreSet = "Jezik odstavka je švedski (Švedska)"
+ Case 10:WordPreSet = "Jezik besede je poljski"
+ ParagraphPreSet = "Jezik odstavka je poljski"
+ Case 11:WordPreSet = "Jezik besede je nemški (Nemčija)"
+ ParagraphPreSet = "Jezik odstavka je nemški (Nemčija)"
+ end select
+ '-----------------------------------------------------------------------
Case 55 'Case 55: Portuguese (Brazil)
Select Case iLanguageCount
Case 1: WordPreSet = "a palavra é Inglês (EUA)"
diff --git a/testautomation/writer/tools/includes/w_tool1.inc b/testautomation/writer/tools/includes/w_tool1.inc
index 2131b1bd7dfd..34b83bc5e97b 100644..100755
--- a/testautomation/writer/tools/includes/w_tool1.inc
+++ b/testautomation/writer/tools/includes/w_tool1.inc
@@ -434,6 +434,8 @@ end sub
'----------------------------------------------------------------
sub sAutopilot_ListboxCombobox(WhichBox as String)
+ Dim iCount as integer
+ iCount = 1
Kontext "AutoPilotListComboBox"
if AutoPilotListComboBox.Exists then
printlog " -Autopilot-Listbox Page 1"
@@ -441,6 +443,18 @@ sub sAutopilot_ListboxCombobox(WhichBox as String)
if TabListboxData.Exists then
Call DialogTest( TabListBoxData )
DataSource.Select 1
+ Do
+ if iCount >= 15 then exit do
+ try
+ Table.Select 1
+ exit do
+ catch
+ wait 500
+ printlog " - attempt " & i & " to select table"
+ iCount = iCount + 1
+ endcatch
+ Loop
+
if Table.GetItemCount > 0 then
Table.Select 1
else