Kaydet (Commit) 5bb4afeb authored tarafından Helge Delfs [hde]'s avatar Helge Delfs [hde]

automationooo330m5#i113978#added exception loading file swdos.txt

üst 7a8299db
...@@ -52,6 +52,7 @@ testcase tExportAllReadableFormatsIntoODF ...@@ -52,6 +52,7 @@ testcase tExportAllReadableFormatsIntoODF
Dim SavedCorrectly as Boolean Dim SavedCorrectly as Boolean
Dim sExportFilter as string Dim sExportFilter as string
Dim sExportFile as string Dim sExportFile as string
Dim sExceptionFile as string
Dim i as Integer Dim i as Integer
WorkDirectory = ( ConvertPath ( gOfficePath + "user\work\" + gPlatgroup + "\export\")) WorkDirectory = ( ConvertPath ( gOfficePath + "user\work\" + gPlatgroup + "\export\"))
...@@ -77,8 +78,12 @@ testcase tExportAllReadableFormatsIntoODF ...@@ -77,8 +78,12 @@ testcase tExportAllReadableFormatsIntoODF
For i = 1 to listCount(ImportFileList()) For i = 1 to listCount(ImportFileList())
printlog "- " & i & ". load: " & ImportFileList(i) printlog "- " & i & ". load: " & ImportFileList(i)
sExportFile = ImportFileList(i) sExportFile = ImportFileList(i)
sExceptionFile = DateiExtract ( sExportFile )
printlog sExceptionFile
if GetExtention ( sExportFile ) = "psw" then if GetExtention ( sExportFile ) = "psw" then
QAErrorlog "#i102221#Pocket Word filter puts General I/O Error" QAErrorlog "#i102221#Pocket Word filter puts General I/O Error"
elseif LCase( sExceptionFile ) = "swdos.txt" then
QAErrorlog "#i114062#General I/O error loading StarWriter DOS file"
else else
Call hFileOpen ( ImportFileList(i) ) Call hFileOpen ( ImportFileList(i) )
printlog "- done" printlog "- done"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment