summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorThorsten Bosbach <tbo@OpenOffice.org>2010-06-15 18:52:18 +0200
committerThorsten Bosbach <tbo@OpenOffice.org>2010-06-15 18:52:18 +0200
commit954b9a0c13afa1f1158c5f9a64b5230941ed6e31 (patch)
treeac0f591149ff2de2d023a4687480ec8f8c1b26f8 /testautomation
parent73913bd69eb79c43f78235fed41410b82d58ad38 (diff)
#i112279# additional testautomation fixes
Diffstat (limited to 'testautomation')
-rwxr-xr-x[-rw-r--r--]testautomation/global/required/includes/g_option.inc15
-rwxr-xr-x[-rw-r--r--]testautomation/math/required/includes/m_001_.inc6
2 files changed, 6 insertions, 15 deletions
diff --git a/testautomation/global/required/includes/g_option.inc b/testautomation/global/required/includes/g_option.inc
index 3ff884d6be57..60f4e977337d 100644..100755
--- a/testautomation/global/required/includes/g_option.inc
+++ b/testautomation/global/required/includes/g_option.inc
@@ -209,21 +209,6 @@ testcase tToolsOptionsStarOffice
endif
Kontext "TabSecurity"
- if Protect.isEnabled then
- Protect.click()
- Kontext "PasswordDLG"
- call DialogTest( PasswordDLG )
- PasswordDLG.cancel()
- else
- select case uCase(gApplication)
- case "WRITER","MASTERDOCUMENT"
- WarnLog "Protect-Button is disabled."
- case "MATH","IMPRESS","DRAW","HTML","CALC"
- PrintLog "Protect-Button is disabled."
- end select
- endif
-
- Kontext "TabSecurity"
if ( TabSecurity.exists( 1 ) ) then
Options.click
Kontext "TabSecurityOptionsAndWarnings"
diff --git a/testautomation/math/required/includes/m_001_.inc b/testautomation/math/required/includes/m_001_.inc
index 371f7f090d52..17de5c6bc646 100644..100755
--- a/testautomation/math/required/includes/m_001_.inc
+++ b/testautomation/math/required/includes/m_001_.inc
@@ -611,6 +611,12 @@ testcase tmFileProperties
Call DialogTest ( TabDokumentInfo )
Kontext
+ '/// select tabpage 'Security' ///'
+ active.SetPage TabSecurityProperties
+ Kontext "TabSecurityProperties"
+ Call DialogTest (TabSecurityProperties)
+
+ Kontext
'/// select tabpage 'Internet' ///'
active.SetPage TabInternet
Kontext "TabInternet"