WHAT IS ENVIRONMENT VARIABLES?

Answers were Sorted based on User's Feedback



WHAT IS ENVIRONMENT VARIABLES?..

Answer / nanda

I Agree with Umasankar.

Built In Variables are activated at runtime only. by using
this variables we can know test execution information. That
is which user is executed, how Iterations were executed,
which Actions were executed, which test was executed, test
directory path..like that.

User Defined Internals..we can create them and these
variables are used only a test where they were created. Once
u created that variable u can not modify the name of
variable and u can modify the value. If u want to use these
variable in many tests u can export them in XML file. there
u can modify the name of the variable.

User defined Externals...The variables which are Imported
from XML file are called External variables. These are read
only variables. u can modify name and value of these
variables. If u want to modify them..go to XML file which
are stored and right click on that file click n edit. the
script will open, there u can edit name and value.

this is completely about Environment variables.

If any queries..
nanda.dreddy@gmail.com

Is This Answer Correct ?    25 Yes 6 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / umasankar

There are three types of environment variables:

User-defined internal. Variables that you define within the
test. They are saved with the test and accessible only
within the test in which they were defined.

User-defined external. Variables that you predefined in the
active external environment variables file. These variables
are read-only in this context.

Built-in. Variables that represent information about the
test and the computer on which the test is run, such as
Test path and Operating system. These variables are
accessible from all tests, and are designated as read-only

Is This Answer Correct ?    30 Yes 13 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / brahma reddy

As for as i know the use of environment variables in qtp
is .
in qtp the variable which you have in one action cant be
used in some other action .so by using environment
variables we can use the variables in one action in to
another action


Is This Answer Correct ?    25 Yes 15 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / venkatraj.b

environment variables are 3 types,

1. user defined internal
2. user defined external
3. builtin

Is This Answer Correct ?    23 Yes 15 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / siva krishna

Environment variables are two types
1 Built-in variables
2 User defined variables
By default Built in variables are available for every
test-script we can directly access them with
Environment.value("built-in variable name")

User defined variables
when ever we developing multiple scripts some common values
are used in multiple scripts then we will use user defined
variables. create xml file with environment variables and
attach it to the required test and use those variables in
side the test

Is This Answer Correct ?    9 Yes 4 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / srinivas

a varable which can store a value in order to one action or
different action in QTP their are 2 types
1)built in OR system define
2)User defind Varables
A.internal(local)
B.Extrnal (Global)
if am not correct plz telme
srinu66616@gmail.com
Thanx

Is This Answer Correct ?    8 Yes 6 No

WHAT IS ENVIRONMENT VARIABLES?..

Answer / zubair

Environment variables in QTP are similar to global variables
which can be accessed through any part of the script.These
variables can prove to be very useful when we want a
variable to be shared across various reusable actions and
functions.

Two Types of Environment variable:

1. Built in variables

2. User Defined variables
♦ Internal
♦ External

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

in a database table there are 3 columns (name , marks,grade) , in application after retrieving data from db to fields name, marks click ok button then grade should displayed ---for this how to write vb script prgm

3 Answers   IBM,


I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query.

9 Answers   IBM,


what properties do use to identify a browser and page while using descriptive programming?

3 Answers   TCS,


why we use environment variables

5 Answers  


How do you done Data-Driven Testing using MS-Word. What is the script for that

3 Answers   IBM,






Once the Actions are splitted , is there any way to merge them

3 Answers  


hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish

3 Answers   Syntel,


How to recognize and read data from pdf file using Descriptive Programming in QTP?

1 Answers   Satyam,


How to test the login page in different ways in automation testing and i need code?

0 Answers   Cognizant,


What is the syntax to call one script from another?

0 Answers  


1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)

3 Answers   Synechron,


Is the provision for integrating QTP with QC ,available from the version 9.0 onwards only or even 8.2 version has such provisions?

1 Answers  


Categories