Hi,
I am new to Eggplant so please bear with me…
I have a function called dialDigits which return 1 or 0.
Now when i call this function, as dialDigits “1 2 3”, and it returns 1 or 0, I want to to be able to decide whether to continue script execution in one line…Currently I have
dialDigits “1 2 3”
if the result is 1
log “success”
end if
I want to be able to do something like
if the result of dialDigits “1 2 3” is 1
log “sucess”
end if
So that it can be made into one line…I am not sure what the syntax is to do this…
Thanks
Sanjit