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
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How many ways we can parameterize data in quicktest professional?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
what kind of frame work you used in your last project?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What are the different kinds of test steps?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Can we record using all the modes in a single script? Explanation with example is appreciated
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What are the ways you can synchronize?
What is QTP’s model for test creation?
Hi All, I need code for how to execute qtp scripts from excell sheet
Differentiate the type of test cases which can be automated and which cannot be automated?
Hoe can we do retesting using functions please give the code for it using login page