| || |
How to use an if-else loop
How do you use an "if" statement in Vugen. I have script code as :
I want to put a condition here using if statement and the method sapgui_is_object_available
when i use this as:
sapgui_is_object_available ("("tbar/btn", ....)
The if loop doesnot work as desired.It does not validate the condition whether the object is present or not and also the else loop does not work too.Can someone give me some example of how to use an if-else loop in this kind of code.
Re: How to use an if-else loop
Look in the LR help what return values you get from the functions you want to use (sapgui_is_object_available) & use google to search for suitable pages containing intro to the C -language.
(PS. The function returns true or false depending on whether the object is available or not :-))