10-16-2015 8:17 AM
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
01-20-2016 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