diff options
Diffstat (limited to 'testautomation/framework/required/includes/wizard_agenda.inc')
-rwxr-xr-x | testautomation/framework/required/includes/wizard_agenda.inc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/testautomation/framework/required/includes/wizard_agenda.inc b/testautomation/framework/required/includes/wizard_agenda.inc index a192be35015e..d423d2fd7c62 100755 --- a/testautomation/framework/required/includes/wizard_agenda.inc +++ b/testautomation/framework/required/includes/wizard_agenda.inc @@ -81,17 +81,16 @@ testcase tUpdtWizardAgenda hWaitForObject( TemplateName, 3000 ) TemplateName.setText( cTemplateName ) hSetTemplateSavePath( cTemplatePath ) - - hFinishWizard( 1 ) + + kontext "AutopilotAgenda" + hClickButton( CreateButton ) - iErr = hHandleSaveError() - if ( iErr = 1 ) then + if ( hHandleSaveError() = 1 ) then kontext "AutopilotAgenda" - hFinishWizard( 1 ) + hClickButton( CreateButton ) endif - brc = hDestroyDocument() - if ( not brc ) then qaerrorlog( "#i59233# The wizard does not display the new template" ) + if ( not hDestroyDocument() ) then qaerrorlog( "#i59233# The wizard does not display the new template" ) hFileCloseAll() hDeleteFile( cTemplatePath ) |