summaryrefslogtreecommitdiff
path: root/testautomation/framework/optional/includes/security_certification_dialogs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/framework/optional/includes/security_certification_dialogs.inc')
-rwxr-xr-x[-rw-r--r--]testautomation/framework/optional/includes/security_certification_dialogs.inc20
1 files changed, 11 insertions, 9 deletions
diff --git a/testautomation/framework/optional/includes/security_certification_dialogs.inc b/testautomation/framework/optional/includes/security_certification_dialogs.inc
index 2b645712cc02..18c47c36d5fa 100644..100755
--- a/testautomation/framework/optional/includes/security_certification_dialogs.inc
+++ b/testautomation/framework/optional/includes/security_certification_dialogs.inc
@@ -32,8 +32,6 @@
'\******************************************************************************
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