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.
Answers were Sorted based on User's Feedback
Answer / venurao
environment variables used in vb and dis programing we
will identifies the reausable actions then select/create as
environment variables in then use that e variable in tool
wise (on any application)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
What is the advantage of associating a procedure with a test object?
any challange that faced in your project? (please give me some examples in your project?
What’s the QTP testing process?
Should have experience in framework means?
if we made any changes in shared object repository how it reflects of others like our team members?
How can I pass values from one action to another in QTP ?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?
please tellme ordernal identifiers in QTP?
Explain about reusable actions?
Hi Samrat, Thank u very much, what u said it is right.
Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.