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
Explain calling sub procedure.
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Can you brief the hurdles you faced during Automation testing?
How you can find length of array in qtp?
When you open QTP, how many sheets you can see?
What are output values and why they are used ?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Suppose I want fail that check point? How can you do that?
How to break the object spy ?
what is error and fault in terms of software quality?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How the exception handling can be done using quicktest professional (qtp)?
How will you report the bug and explain the defect tracking sheet you handled?
What are some test assets and related extensions of qtp?
How to analyzing test results using quicktest professional?