diff options
Diffstat (limited to 'testautomation/framework/required/includes/wizard_letter.inc')
-rwxr-xr-x[-rw-r--r--] | testautomation/framework/required/includes/wizard_letter.inc | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/testautomation/framework/required/includes/wizard_letter.inc b/testautomation/framework/required/includes/wizard_letter.inc index 19afe2a96f90..1c0cb05031f0 100644..100755 --- a/testautomation/framework/required/includes/wizard_letter.inc +++ b/testautomation/framework/required/includes/wizard_letter.inc @@ -25,7 +25,7 @@ ' '/************************************************************************ '* -'* owner : joerg.skottke@sun.com +'* owner : joerg.skottke@oracle.com '* '* short description : Update Test for Letter Wizard '* @@ -89,7 +89,7 @@ testcase tUpdtWizardLetter kontext "AutopilotLetter" LetterHead.Check() - hClickNextButton() + hClickButton( NextButton ) kontext "AutopilotLetter" call DialogTest( AutopilotLetter, 2 ) @@ -123,7 +123,7 @@ testcase tUpdtWizardLetter warnlog( "FooterHeight should not be enabled in this configuration" ) endif - hClickNextButton() + hClickButton( NextButton ) kontext "AutopilotLetter" call DialogTest( AutopilotLetter, 3 ) @@ -136,11 +136,11 @@ testcase tUpdtWizardLetter printlog( " * change Complimentary Close to second entry" ) ListGreetings.select( 2 ) - hClickNextButton() + hClickButton( NextButton ) kontext "AutopilotLetter" call DialogTest( AutopilotLetter, 4 ) - hClickNextButton() + hClickButton( NextButton ) kontext "AutopilotLetter" call DialogTest( AutopilotLetter, 5 ) @@ -150,7 +150,7 @@ testcase tUpdtWizardLetter printlog( " * check Include only on second ..." ) IncludeFromPage2.check() - hClickNextButton() + hClickButton( NextButton ) kontext "AutopilotLetter" call DialogTest( AutopilotLetter, 6 ) @@ -178,9 +178,7 @@ testcase tUpdtWizardLetter endif brc = hDestroyDocument() - if ( not brc ) then - qaerrorlog( "#i59233# The wizard does not display the new template" ) - endif + if ( not brc ) then qaerrorlog( "#i59233# The wizard does not display the new template" ) else warnlog( "Autopilot Letter not open/exceeded timeout" ) endif @@ -192,9 +190,7 @@ testcase tUpdtWizardLetter printlog( "Unexpectedly deleted user template(s), please check") endif - do while( getDocumentCount() > 0 ) - call hCloseDocument() - loop + hFileCloseAll() endcase |