' create a environment variable called my_var
'Action where to want to call the function i ,e ex: -Action2
environment("my_var")="login"
runaction "Action1",environment("my_var")
'Action1
If environment("my_var")="login" Then
Call func_login()
End If
Regards,
PavanKumar Nandagiri..............