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
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Explain how qtp identifies object?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
what is the advantages and disadvantages of using functions instead of re usable actions
Write a script to verify font style and color of a windows object using descriptive programming
Name the different types of recording modes?
Give the syntax to load function at run time.
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
What is the use of Debug Viewer?
what you mean by artifact,milestone...
How to remove associated function library?
Where we use data driver in qtp?
what is test scheduleling?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Can anybody post some real time scenario in qtp? please its very urgent.