diff options
Diffstat (limited to 'testautomation/framework/required/includes/wizard_documentconverter.inc')
-rwxr-xr-x | testautomation/framework/required/includes/wizard_documentconverter.inc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/testautomation/framework/required/includes/wizard_documentconverter.inc b/testautomation/framework/required/includes/wizard_documentconverter.inc index cca037b16680..b99cef0a9c6c 100755 --- a/testautomation/framework/required/includes/wizard_documentconverter.inc +++ b/testautomation/framework/required/includes/wizard_documentconverter.inc @@ -49,18 +49,11 @@ testcase tUpdtWizardDocumentConverter dim iCurrentFile as integer hInitSingleDoc() - - irc = hOpenWizardWithMenu( "DOCCONV" ) - if ( irc <> 0 ) then - warnlog( "Unable to open requested wizard, aborting test" ) - goto endsub - endif - sTargetFile = hGetWorkPath() sLogFile = sTargetFile & "Logfile.odt" - - stargetFile = sTargetFile & "docconv1" & hGetSuffix( "current" ) - + sTargetFile = sTargetFile & "docconv1" & hGetSuffix( "current" ) + + FileWizardDocumentConverter Kontext "DocumentConverter" hWaitForObject( CreateLogfile, 3000 ) @@ -85,7 +78,7 @@ testcase tUpdtWizardDocumentConverter printlog( "Page " & 1 + iDocumentType & " is visible" ) else warnlog( "Cannot access page 2, aborting test" ) - hFinishWizard() + hCloseDialog( DocumentConverter, "Cancel" ) goto endsub endif |