diff options
author | skotti <skotti@wintermute> | 2009-10-20 15:33:57 +0200 |
---|---|---|
committer | skotti <skotti@wintermute> | 2009-10-20 15:33:57 +0200 |
commit | 79219f9a940386feac6de1682af2b67ae4add46a (patch) | |
tree | 2c8f7e9927429f1d336d68f83245ef410e0183c8 /testautomation/framework/optional/includes/filedlg_filternames.inc | |
parent | 45a6861fee26ee451e16908e0a7f334d82b5b2e8 (diff) |
#i106016# - Cloned changes from CWS automation320m2
Diffstat (limited to 'testautomation/framework/optional/includes/filedlg_filternames.inc')
-rwxr-xr-x | testautomation/framework/optional/includes/filedlg_filternames.inc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testautomation/framework/optional/includes/filedlg_filternames.inc b/testautomation/framework/optional/includes/filedlg_filternames.inc index ce0b7231b5c5..e524f40d955f 100755 --- a/testautomation/framework/optional/includes/filedlg_filternames.inc +++ b/testautomation/framework/optional/includes/filedlg_filternames.inc @@ -39,6 +39,7 @@ testcase tVerifyFilterNames + printlog( "Verify filternames listed in the file open dialog" ) if ( gIsoLang <> "en-US" ) then qaerrorlog( "No testing for non-US languages" ) @@ -77,12 +78,14 @@ testcase tVerifyFilterNames dim cFileOut as string cFileOut = hGetWorkPath() & cFile - + printlog( "Create a new document" ) hCreateDocument() + printlog( "Open the File Open dialog" ) FileOpen Kontext "OeffnenDlg" + printlog( "Read the filterlist (en_US only), compare against a reference" ) if ( OeffnenDlg.exists( 1 ) ) then iFilterCount = DateiTyp.getItemCount() @@ -101,7 +104,7 @@ testcase tVerifyFilterNames try asFilterNames( iCurrentItem ) = DateiTyp.getItemText( iCurrentItem ) catch - printlog( "Test broke at pos: " & iCurrentItem ) + printlog( "Problem encountered at pos: " & iCurrentItem ) endcatch next iCurrentItem @@ -113,7 +116,8 @@ testcase tVerifyFilterNames else warnlog( "File Open dialog not present." ) endif - + + printlog( "Close the document" ) hDestroyDocument() if ( iErr <> 0 ) then |