Thursday, 6 October 2016



What is Evnironment Variables?

Environment variables are global variables.  The scope the variable are thru out the executions.  Means we can access the environment variables anywhere in the script that we want.

There are 2 types Environment Variable.

1.Built-in Environment Variables:-provides information about Actionname, Test-Directory, OS Version,OS Name etc.....


Path to Environment variables:-File--->Settings--->Environment


2.User Defined Environment Variables has sub-types

a. Internal
b. External

a. Internal

User Defined-Internal Environment Variables:- These variables are user defined variables in the test before executing the test we need to spcify. these variables are accessed thru out the test.


Path to User Defined-Internal:-File--->Settings--->Environment Tab


Note:- "+" button is used to Enter Name and Value.

b. External

User Defined-External Variables:-These variables are defined by the user and it can be used globally across different tests


Path to User Defined External :- File--->Settings--->Environment Tab

Click on Export Button to upload .XML file.







No comments:

Post a Comment