Tuesday, July 8, 2008

How to use user defined environmental variables?


Environmental variable is useful to carryon the variable values through diff actions in a single script.

  1. Choose Test > Settings > Click on Environment Tab.
  2. Select in the variable type drop down.
  3. Create a new variable and initialize it with a value. This variable will be the Global variable.
You could refer this variable across the Test as follows:
Environment("variable_name").

No comments: