summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorHelge Delfs [hde] <hde@openoffice.org>2010-10-20 21:40:42 +0200
committerHelge Delfs [hde] <hde@openoffice.org>2010-10-20 21:40:42 +0200
commit6c5f191f198f6c6f41e3c354a4ba4ca87d56f848 (patch)
tree4504e79273a1ccee6d5d57c4b78c10ef451a3c33 /testautomation
parent7c6ec43e96fe12337b31b2a423a4b6b91a0ff72c (diff)
automationdev300m87#i115106#fixed access to disabled controls and reloading local file
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/writer/optional/includes/option/wr_o_2.inc24
-rw-r--r--testautomation/writer/optional/includes/option/wr_o_3.inc10
-rw-r--r--testautomation/writer/optional/includes/option/wr_o_4.inc3
3 files changed, 26 insertions, 11 deletions
diff --git a/testautomation/writer/optional/includes/option/wr_o_2.inc b/testautomation/writer/optional/includes/option/wr_o_2.inc
index 7b9322c169d8..4c5cdc95391f 100644
--- a/testautomation/writer/optional/includes/option/wr_o_2.inc
+++ b/testautomation/writer/optional/includes/option/wr_o_2.inc
@@ -508,7 +508,13 @@ testcase tToolsOptionsWriterPrint1
if bCheckboxes(10) then LeereSeitenDrucken.UnCheck else LeereSeitenDrucken.Check
if bCheckboxes(11) then AusDruckereinstellung.UnCheck else AusDruckereinstellung.Check
- if (Keine.IsChecked = True) then NurNotizen.Check else Keine.Check
+ if Keine.IsEnabled then
+ if (Keine.IsChecked = True) then
+ NurNotizen.Check
+ else
+ Keine.Check
+ endif
+ endif
bTempRadioBut(1) = Keine.IsChecked
bTempRadioBut(2) = NurNotizen.IsChecked
@@ -612,7 +618,13 @@ testcase tToolsOptionsWriterPrint1
LeereSeitenDrucken.UnCheck
AusDruckereinstellung.UnCheck
- if (NurNotizen.IsChecked = True) then Dokumentende.Check else NurNotizen.Check
+ if NurNotizen.IsEnabled then
+ if (NurNotizen.IsChecked = True) then
+ Dokumentende.Check
+ else
+ NurNotizen.Check
+ endif
+ endif
bTempRadioBut(1) = Keine.IsChecked
bTempRadioBut(2) = NurNotizen.IsChecked
@@ -666,7 +678,13 @@ testcase tToolsOptionsWriterPrint1
LeereSeitenDrucken.Check
AusDruckereinstellung.Check
- if (Dokumentende.IsChecked = True) then Seitenende.Check else Dokumentende.Check
+ if Dokumentende.IsEnabled then
+ if (Dokumentende.IsChecked = True) then
+ Seitenende.Check
+ else
+ Dokumentende.Check
+ endif
+ endif
bTempRadioBut(1) = Keine.IsChecked
bTempRadioBut(2) = NurNotizen.IsChecked
diff --git a/testautomation/writer/optional/includes/option/wr_o_3.inc b/testautomation/writer/optional/includes/option/wr_o_3.inc
index 9868740c733c..0a047499d9f8 100644
--- a/testautomation/writer/optional/includes/option/wr_o_3.inc
+++ b/testautomation/writer/optional/includes/option/wr_o_3.inc
@@ -1097,10 +1097,10 @@ endcase
'------------------------------------------------------------------------------------------------------------
testcase tToolsOptionsWriterCompatibility3
-DIM iWords_to_right AS integer 'variable for counting word-steps
-DIM iOptionsCount AS integer 'variable for counting options on cmopatibility page
-DIM sDocument AS string 'variable for saving the doc
-DIM sFoundWord AS string 'variable for word found one line below
+ DIM iWords_to_right AS integer 'variable for counting word-steps
+ DIM iOptionsCount AS integer 'variable for counting options on cmopatibility page
+ DIM sDocument AS string 'variable for saving the doc
+ DIM sFoundWord AS string 'variable for word found one line below
printlog ">>> Configuration of behavior when a line break is inserted <<<"
'/// New Writer Doc
@@ -1253,7 +1253,7 @@ DIM sFoundWord AS string 'variable for word found one line below
ExtrasOptionenDLG.Cancel
printlog "Reload recently saved document"
- hFileOpenLocally( sDocument)
+ hFileOpen( sDocument)
printlog "Tools-Options-OOo Writer-Compatibility"
ToolsOptions
diff --git a/testautomation/writer/optional/includes/option/wr_o_4.inc b/testautomation/writer/optional/includes/option/wr_o_4.inc
index 53915f76bc63..d5516718ee66 100644
--- a/testautomation/writer/optional/includes/option/wr_o_4.inc
+++ b/testautomation/writer/optional/includes/option/wr_o_4.inc
@@ -858,9 +858,6 @@ endcase
testcase tToolsOptionsWriterMailMerge
- warnlog( "#i111914# - Test excluded, needs review" )
- goto endsub
-
Call hNewDocument
printlog ("- Tools/Options/Writer: Mail Merge ")
Kontext "Navigator"