Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how are environment variables used in real time projects
(testing)?what answer should be given about this in
interview.need real time explanation breifly?thnx in
advance.

Answer Posted / m.hemkumar

Environment variable is a global variable where ever you
wnat you can use
Defining Environment variable:
Environment("variablename")=34
Using Environment variable:
msgbox Environment("variablename")

Note:

1)it is used when we want value from differnt action
2)it is used when we the value generated in one function is
used in different function
Ex:
First_Fun a,b

public function First_Fun(a,b)
b=a+b
Environment("c")=b
Second_Fun()
end function

public function Second_Fun()
msgbox Environment("c")
end function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the expert view?

939


Explain the parameter in qtp?

994


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

2103


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2185


what is output value in QTP and how it can be used in automation testing

1916


how do u plan test automation?

1857


How to customize checkpoints with parameters?

3496


what is the difference between data driver & data driven and driver script?

2681


Explain the types of object repository?

937


For which type of project the iterative model is suitable?

1717


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1855


Can we use index on view?

2047


Is it possible to switch between recording modes during a test creation?

985


How to capture all the data of a webtable, weblist and combolist using QTP?

3282


Can we create a qtp test from qc?

977