summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorHelge Delfs [hde] <hde@openoffice.org>2010-10-20 12:09:11 +0200
committerHelge Delfs [hde] <hde@openoffice.org>2010-10-20 12:09:11 +0200
commitdccc915af045d8d6d06cf664745f4b5dda9fc392 (patch)
tree2d57c77a66fdb622837ff0da3ef5f3939decc0f7 /testautomation
parentb7a5df0023d447e13f8ac30c33f0bc2b1d9069bb (diff)
automationdev300m87#i115106#Corrected scripting failures due to disabled controls
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/writer/optional/includes/option/wh_o_2.inc16
1 files changed, 14 insertions, 2 deletions
diff --git a/testautomation/writer/optional/includes/option/wh_o_2.inc b/testautomation/writer/optional/includes/option/wh_o_2.inc
index 3163453524ff..ff58ce4e4f09 100644
--- a/testautomation/writer/optional/includes/option/wh_o_2.inc
+++ b/testautomation/writer/optional/includes/option/wh_o_2.inc
@@ -83,7 +83,13 @@ testcase tToolsOptionsHTMLPrint
if bCheckboxStatus(6) 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
+ end if
+ end if
bTempRadioBut(1) = Keine.IsChecked
bTempRadioBut(2) = NurNotizen.IsChecked
@@ -185,7 +191,13 @@ testcase tToolsOptionsHTMLPrint
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
+ end if
+ end if
bTempRadioBut(1) = Keine.IsChecked
bTempRadioBut(2) = NurNotizen.IsChecked