08-26-2010, 11:10 PM
Hi Galstar,
Creating & Accessing Environment Variable programmatically would solve your problem
Refer the below example for more info.
For example, there is Test by name "MyTest" which contain 3 Actions i.e Action1,Action2,Action3.
Here I am calling Action2,Action3 in Action1 and once Action1 is executed Action2,Action3 will not get executed again.
Action1 Code:
Action2 Code:
Action3 Code:
Creating & Accessing Environment Variable programmatically would solve your problem
Refer the below example for more info.
For example, there is Test by name "MyTest" which contain 3 Actions i.e Action1,Action2,Action3.
Here I am calling Action2,Action3 in Action1 and once Action1 is executed Action2,Action3 will not get executed again.
Action1 Code:
Code:
Environment.Value("Execute")="Yes"
Msgbox "This is Action1 code"
RunAction "Action2",OneIteration
RunAction "Action3", oneIteration
Environment.Value("Execute")="No"
Code:
If Environment.Value("Execute")="No" then
ExitAction
End if
Msgbox "This is Action2 code"
Action3 Code:
Code:
If Environment.Value("Execute")="No" then
ExitAction
End if
Msgbox "This is Action3 code"