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

How to analyzing test results using quicktest professional (qtp)?

582


Step 3&4 are repeated until an the object in recognised uniquely.

1518


In qtp, how you can get the last character from a string?

554


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1673


Hi Samrat, Thank u very much, what u said it is right.

1340






Tell me about your project? please help me how to tell about insurance project

1526


How to use conditional loops in qtp ?

585


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1321


Dis advantages of XML checkpoint ?

1575


Name the properties you would use for identifying a browser and page when using descriptive programming?

520


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3438


what frame work you are following?

1522


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1726


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2097


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1318