how to use IF ENDIF statements in eCATT
hi ecatt guru's,
how to use IF and ENDIF statements in eCATT.
iam dealing with transaction MIRO.
i get a popup for company code sometimes.and sometimes the popup will not appear.so i recorded my script with popup.so i want to use IF ENDIF condition.
the code is like this.
IF ( ( MIRO_1000_STEP_1 ) eq 0 ).
**ELSEIF ( ).
*SAPGUI ( MIRO_1000_STEP_1 ).
SAPGUI ( MIRO_6000_STEP_19 ).
SAPGUI ( MIRO_10_STEP_3 ).
SAPGUI ( MIRO_6000_STEP_20 ).
SAPGUI ( MIRO_6000_STEP_21 ).
the IF ENDIF statement is satisfying but finally it gives a red log saying.
Internal error: Syntax error in generated report of test environment.
1 MESSAGE "." expected after "MIRO_1000_STEP_1".
so could u please help me out how to use IF and ENDIF statements in eCATT.