diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-10-14 15:28:07 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-10-14 15:28:07 +0200 |
commit | ee79952f71306a13e655fc0d4352c0e473d766bf (patch) | |
tree | d957693de4bace1eca9ae89959e421fa4e227389 /testautomation/framework/optional | |
parent | 41f422bc53bfee4fe464db4f1ed8fc29b88f913d (diff) |
automationdev300m87: #i112208 - security_incorrect_password.inc had invalid path, fixed
Diffstat (limited to 'testautomation/framework/optional')
-rw-r--r--[-rwxr-xr-x] | testautomation/framework/optional/includes/security_incorrect_password.inc | 8 |
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 |