Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the Exact Meaning of Environment Variables?

Answers were Sorted based on User's Feedback



what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

Answer / md.rafi

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

what is the Exact Meaning of Environment Variables?..

Answer / kalyan

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

what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

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

what is the Exact Meaning of Environment Variables?..

Answer / shanu

ev are two types
Built in variable these are predefined helps to know
inbuilt properties like operating system ,hostname,server etc


userdrfined: this helps to send data externally to the QTP

Is This Answer Correct ?    0 Yes 6 No

what is the Exact Meaning of Environment Variables?..

Answer / chinna

Environment variable means we can use any action if any
test.

Is This Answer Correct ?    3 Yes 13 No

Post New Answer

More QTP Interview Questions

What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?

1 Answers  


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

0 Answers  


any one can send me the concepts of qtp

0 Answers  


How do we create and run the scripts with out using O.R. ?

5 Answers  


Hi, I got some difficulties in automating a web check box in a peoplesoft application. Let me explain the scenario, When clicked on a look up button in the application, it navigates to a new page with check boxes and respective options. Below is the source code for one check box and its option. <input type='checkbox' name='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' id='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' tabindex='34' value="Y" onclick="this.form.H1AU_BUNDLE_WRK_H1AU_SELECT_CH$chk$2.valu e=(this.checked?'Y':'N');submitAction_win0 (this.form,this.name);" /> </td> <td align='left' class='PSLEVEL1GRIDODDROW' > <span class='PSEDITBOX_DISPONLY' >$29 - $29 Cap with FREE Mobile</span> I want to parametrize using "$29 - $29 Cap with FREE Mobile". I am not aware of how to parametrize this. Currently I am parametrizing with 'H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' Can any one please help me out with this??/

0 Answers  


Discuss the QTP Environment?

0 Answers  


What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,


explain all the check point in QTP?

1 Answers   BirlaSoft,


how to click the link in webpage by using QTP Script????????

3 Answers  


Did you face the problem, changing the properties of an object in Run Time?

1 Answers  


How to merge the two object repositories

3 Answers   Wipro,


Categories