Skip to Content
avatar image
Former Member

ECATT SCRIPT TO SET UP TMS FAILS TO EXECUTE

I am trying put in if elseif endif

IF the  Id field 'wnd[0]/usr/txtGS_DYN100-MESSAGE' = 'You are logged onto the domain controller' (TMS already exists)

exit the script

ELSE

    SAPGUI (STMS_173_1)       -- configure TMS

               ;

               ;

ENDIF

but I get a syntax error for the test condition. How can I fix this? Is there a better way to write the above test?

thanks in advance

kind regards,

Hema

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 20, 2016 at 10:03 AM

    Hello,

    This is syntax error.

    If i get your query right you want to check if 'wnd[0]....' = to something.

    You can assign 'wnd[0]...' to a local variable like

    v_variable = 'wnd[0]...' then use if v_variable

    if 'wnd[0] is constantly changing at runtime then you need to use a different approach.

    Please provide details on the scenario.

    Thanks,

    Aj

    Add comment
    10|10000 characters needed characters exceeded