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



how are environment variables used in real time projects (testing)?what answer should be given abou..

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

how are environment variables used in real time projects (testing)?what answer should be given abou..

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

Post New Answer

More QTP Interview Questions

How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me

5 Answers   Livetek, Virtusa,


Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder

6 Answers  


Hi, how can we check or avoid the memory leakage in QTP9.2?

0 Answers   Arctern,


can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???

3 Answers  


In QTP what is the difference between Step-in, Step-out, Step-over ?

3 Answers   CTS,






Add parameters during time in each row in one column

0 Answers  


Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com

1 Answers   UHG,


How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?

2 Answers  


Is manual Testing replacement of automation testing?Which types of testing we can not do in automation testing but can do in manual testing?

1 Answers   Hewitt, Wipro,


How to Display last item of a Combobox by using QTP?

10 Answers  


How do u insert an object during runtime in qtp?

2 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


Categories