summaryrefslogtreecommitdiff
path: root/testautomation/framework/optional/includes/security_incorrect_password.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/framework/optional/includes/security_incorrect_password.inc')
-rw-r--r--[-rwxr-xr-x]testautomation/framework/optional/includes/security_incorrect_password.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/testautomation/framework/optional/includes/security_incorrect_password.inc b/testautomation/framework/optional/includes/security_incorrect_password.inc
index 8e6eb2deffee..9f8cfcb39d7d 100755..100644
--- a/testautomation/framework/optional/includes/security_incorrect_password.inc
+++ b/testautomation/framework/optional/includes/security_incorrect_password.inc
@@ -66,8 +66,8 @@ testcase tIncorrectPassword( filetypeID as string )
printlog( "Check the password checkbox" )
Passwort.check()
- printlog( "Name the file as " & workpath & WORKFILE )
- Dateiname.settext( workpath & WORKFILE )
+ printlog( "Name the file as " & filepath )
+ Dateiname.settext( filepath )
if ( filetypeID <> "current" ) then
for iCurrentFilter = 1 to DateiTyp.getItemCount()
@@ -108,7 +108,7 @@ testcase tIncorrectPassword( filetypeID as string )
endif
printlog( "Load the file again" )
- hFileOpen( workpath & WORKFILE & suffix )
+ hFileOpen( filepath )
if ( not hSecurityEnterPasswordOnLoad( PASSWORD_FALSE , false ) ) then
warnlog( "Something went wrong while using the password dialog" )
endif
@@ -121,7 +121,7 @@ testcase tIncorrectPassword( filetypeID as string )
endif
printlog( "Delete the workfile" )
- hDeleteFile( workpath & WORKFILE & suffix )
+ hDeleteFile( filepath )
else
warnlog( "Unable to open file save dialog" )
endif