| || |
How to SetBaseState() function
User Sushobhan Das (firstname.lastname@example.org) posted:
Please anyone tell me how to use SetBaseState() function with an example.
[Non-text portions of this message have been removed]
Re: How to SetBaseState() function
The SetBaseState(sAppState) does the same thing that occurs when you included the line "appstate sAppState" on a testcase line. However, instead of setting the appication state when a testcase starts, you are controlling the application state within your code.
So, you simply create whatever basestate you want, then call that basestate using SetBaseState.
The SilkTest help has an example of using this function.