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

What is the difference between Functions and Action ?

1 Answers  


Tell me one scenario, the complex functionality you have automated in your project?

0 Answers  


How to export QTP results to an .xls file?

10 Answers   IBM,


if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see?

1 Answers   IBM, Infosys,


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

0 Answers  


How to handle Run-time errors?

2 Answers  


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

0 Answers   V2 Solutions,


What is Virtual Object? Plz Explain me with an example?

2 Answers   Ordain Solutions,


If requirments changed then how we can teach the QTP this is the new requirment

2 Answers   Accenture,


How will you send values to a cell in a webtable using QTP?

2 Answers  


How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)

7 Answers   Wipro,


Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.

1 Answers  


Categories