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
What is the expert view?
Explain the parameter in qtp?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
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...
what is output value in QTP and how it can be used in automation testing
how do u plan test automation?
How to customize checkpoints with parameters?
what is the difference between data driver & data driven and driver script?
Explain the types of object repository?
For which type of project the iterative model is suitable?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
Can we use index on view?
Is it possible to switch between recording modes during a test creation?
How to capture all the data of a webtable, weblist and combolist using QTP?
Can we create a qtp test from qc?