What is environmental variable? Explain me with an example?

Showing Answers 1 - 16 of 16 Answers

KodumuruRamesh

  • Nov 6th, 2006
 

Hi     quick test can insert a value from the Enviroment variable list,which is a list of variable s & corresponding values that can be accessed from your test,Through out test run,the value of an environment variable remains the same,regardless of no of iterations,unless u change the value of variable programmatically in ur script.Environment parameters are especially useful for localization testing . There are 3 types of environmental variables

(1)User-Defined Internal

(2) User-Defined External

(3)Built-In

       Syntax:   Environment("name")

kodumururamesh@yahoo.co.in

  Was this answer useful?  Yes

KodumuruRamesh

  • Nov 6th, 2006
 

hi

             Quick test can insert a value from the Enviroment variable list,which is a list of variable s & corresponding values that can be accessed from your test,Through out test run,the value of an environment variable remains the same,regardless of no of iterations,unless u change the value of variable programmatically in ur script.

              Environment parameters are especially useful for localization testing. There are 3 types of environmental variables

(1)User-Defined Internal

(2) User-Defined External

(3)Built-In

   Syntax: Set Environment("name")

kodumururamesh@yahoo.co.in

  Was this answer useful?  Yes

ziauddin

  • Nov 9th, 2006
 

Can i knw wat are built in functions as well as

userdefined internal

userdefined extenal

  Was this answer useful?  Yes

Nadeem Sharifuddin

  • Jan 2nd, 2007
 

Envoirement variable is variable which is global through the testing.

i.e. if you want to check the operating system of testing machine, you can use

MsgBox OS (here OS is envoirement variable)

Message will show Operating system information " Windowx XP"

You can also use user defined variables which can be avaialable through out testing as public.

 

  Was this answer useful?  Yes

A user-defined internal environment variable: These variables are saved with the test and are accessible only within the test in which they were defined. You can create or modify internal, user-defined environment variables for your test.

A user-defined external environment variable: when you create a .ini file and use the variables defined in the file for different tests. These variables are read only with in the test so they can be shared by multiple tests.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions