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 are the views available in qtp?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
How to insert a check point to a image to check enable property in QTP?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
What are the different types of functions available in qtp and explain ?
how to upload an excel sheet to quality center?
how to add a runtime parameter to a data sheet?
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
How to open any application during Scripting in QTP?
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
I want to open a text file and then search some specified text in it and then replace that text with some other text i found that text in .txt but do not know how to replace that text can any body help me. if possible put the code for qtp
what is the difference between the modular framework and datadriven frame work