what is the Exact Meaning of Environment Variables?
Answers were Sorted based on User's Feedback
Answer / manas
When ever we r planning to use the scripts in different
environment then , where developing them itself we need to
declare all the comonly used variables in many tests and
the veriables may not to be updated whenever the
environment is changed separatelyin an environment file.
Then one need to attach that environment file to the
required test and use those variables inside these tests.
so that in future any changes new to be made accordingly to
the environment . one can just do those changes in
environment file. so that all the script can be confortable
used in that environment.
these r two types of environment veriable
| Is This Answer Correct ? | 3 Yes | 1 No |
Environment Variables are Global variables which scope
doesn't changes throughtout test execution,regardless of
the number of iterations,unless you change the values of
the variable programatically in your script.It use variable
values from other sources during the run session.These may
be values you supply or values that Quick Test generates
for you based on conditions and options you choose.
There are three types of Environment Variables.
1.Built-in
2.User-Defined Internal
3.Used-Defined External
| Is This Answer Correct ? | 4 Yes | 3 No |
EV are related to un & Pwd & URL of the application under
test.We can write this in the notepad and save in EV folder
with .ini extension in the Frame Work.(NOTE:-we have to
use[]to write EV)
When Ever Required using below code we can load this in the
script.
-----------CODE--------
environment.loadfromfile "path.ini"
Any doubts---------mail to-----mskalyan.smile@gmail.com
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / anil
by using environment variables we can avoid the hard coded
values in script. and we can pass single value in the
script. they are 2 types
1. bultin
2.external/internal
in real time we can use external environment variables only
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / deeps
Environment Variables enables you to use the variable
values from other sources during the run session.
the variable values can be specified by the users or QTP
can specify depending upon the conditions and options u
choose.
| Is This Answer Correct ? | 11 Yes | 14 No |
Answer / sekhar
Hai Sriram,
Environment variable means, when we define these
variables we can call these variables in within the text
out side of the text,in QTP once we define the variable
againg we can't reuse those variable, but Enviroment
variable we can use as our require ment.
these variable may define into 3 ways
i) user define internall
ii) External
iii) Built in
user define internall mean we can call these variables
with in the text.
External variales means we can call within the text and
out side of the text, we can do modifcation also means we
rename it.
built in variable means we can call internall and external
purpose but we can't do any modification, readonly purpose.
i think u got it.
bye ......Sekhar(sekharbirada@gmail.com)
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / sixbert
they are variables that you can change according to your
necessities related to what kind of utilities you want to
run on your system then give the location where the system
will follows to find it,if not satisfied write back your
question again
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / venkateshwarlu
these variables are using in automation scripts which are
to be executed in different environments, so that these
variables are called as environment variable.
as testing part we neet to execute the test scripts in
different environments like unit, system, alpha, production
testings. where the information of all these environment
is different. so we use these variables to store the
information to execute the script successfully in different
environments.
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / chinna
Environment variable means we can use any action if any
test.
| Is This Answer Correct ? | 3 Yes | 13 No |
How do u write a regular expression for date (dd/mm/yyyy) field ?
What is Distributed testing? How does UFT support it?
Explain more about the Test Fusion Report of QTP?
How do you delete unwanted results in qtp?
How you can make an action as re-usable action?
How many regression test suits in your appliction?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
How to count no of edit boxes on the page?
What is 'sleep' in sync point?
can any one tell me the script to click on a button in the wintoolbar.
1. How to capture data from images in QTP and produce them in Excel sheet ? 2. What is Terminal Emulator add-in installation and configuration procedure ? 3. Tell me how do u define action and transaction in QTP ? 4. Is QTP case sensitive ? 5. Problem with XML checkpoint ? 6. When was QTP 8.2 and Loadrunner 8.0 officially released to the market ? 7. Can we record on netscape browser does it require any special settings ? 8. How do I add new object to the object repository to any particular frame ? 9. Do we have rapid test scrpit wizard in QTP ? How to learn all the windows and objects in QTP 10. How to open Exceel sheet using QTP script ? 11. Is it necessary to learn VB script to work with QTP or we can manage with keword driven ? 12. What is descriptive programming in QTP ? 13. How to invoke the QTP from dos prompt and run a test without any interaction with human ? 14. What is the meaning of Context sensitive ? 15. How to retrive the property values from "Resource.mtr" after recording the script with "Standard checkpoints" ? 16. Where should we use accessbility checkpoints. Can u explain me with the example ? 17. How do we add object repository dynamically ? (During runtime) 18. How to record right click of a context menu and click on the selection ? 19. How to connect oracle database to QTP ? 20. How will you load few objects in Active Screen ? 21. Can I compare two DataBases using QTP ? 22. If the the two object have same class then how QTP will find the object ? 23. Can I change the runtime properties of an object ? How can I check if a parameter exists in database ? 24. What is the script for database check point, bitmapchek point, regular expression ? 25. What is QTP environmental variable ?
After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?