summaryrefslogtreecommitdiff
path: root/testautomation/framework/optional/includes/security_certification_dialogs.inc
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-08-05 17:16:04 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-08-05 17:16:04 +0200
commitb980c014e3d19450a169347243c7609b63864b9a (patch)
treef74a8b7f338402c09462784f9d3b86eb1c292451 /testautomation/framework/optional/includes/security_certification_dialogs.inc
parent924eab5afc99b0b0ecfa76ac4606a058e0d67328 (diff)
parent7bbf7ff48ffcd5a6dcfc46c31d95df33c360e4ee (diff)
cws tl82: merge with DEV300_m86
Diffstat (limited to 'testautomation/framework/optional/includes/security_certification_dialogs.inc')
-rwxr-xr-x[-rw-r--r--]testautomation/framework/optional/includes/security_certification_dialogs.inc22
1 files changed, 12 insertions, 10 deletions
diff --git a/testautomation/framework/optional/includes/security_certification_dialogs.inc b/testautomation/framework/optional/includes/security_certification_dialogs.inc
index 2b645712cc02..ee7605ad1cce 100644..100755
--- a/testautomation/framework/optional/includes/security_certification_dialogs.inc
+++ b/testautomation/framework/optional/includes/security_certification_dialogs.inc
@@ -25,15 +25,13 @@
'
'/************************************************************************
'*
-'* owner : joerg.skottke@sun.com
+'* owner : joerg.skottke@oracle.com
'*
'* short description : Walk through a number of dialogs related to digital signatures
'*
'\******************************************************************************
testcase tCertificationDialogs
-
-
dim brc as boolean
const CFN = "tCertificationDialogs::"
const SVERSION = "680"
@@ -44,16 +42,23 @@ testcase tCertificationDialogs
hDeleteFile( sFile )
- call hNewDocument()
+ hNewDocument()
- call hChangeDoc()
+ hChangeDoc()
- brc = hOpenDigitalSignaturesDialog()
+ hOpenDigitalSignaturesDialog()
kontext "active"
if ( active.exists( 1 ) ) then
printlog( "MSGBOX: " & active.getText() )
- active.yes()
+ try
+ active.yes()
+ catch
+ warnlog( CFN & "This is not the expected messagebox, aborting test" )
+ active.ok()
+ hCloseDocument()
+ goto endsub
+ endcatch
printlog( CFN & "Allow to save the document" )
else
if ( gApplication <> "MASTERDOCUMENT" ) then
@@ -91,8 +96,5 @@ testcase tCertificationDialogs
endif
call hCloseDocument()
-
-
-
endcase