Use of environment variables?

Answers were Sorted based on User's Feedback



Use of environment variables?..

Answer / hariprasad reddy

The variables declared in Action1, we cannot able to use
them in Action2. So, using Environment key we can access
any variable in any Actions. These variables are known as
environment variables

Is This Answer Correct ?    1 Yes 0 No

Use of environment variables?..

Answer / dinesh1433

in case of normal variable, it has scope of access within action only in which it is defined,now if a user wanted to use this varaible in another action then it is not possible.

so Environemnt varibale came into picture, in this case, if the environemnt value is defined at any action at point of time, then this will accessable through out the actions between the script exection,once the execution is stoped then the environment value loses the value assigned to it. it does not carry forward the value.

Is This Answer Correct ?    1 Yes 0 No

Use of environment variables?..

Answer / jayadev acharam

Environment values can be used in any Action of ur script,
those act as Global Variables

Is This Answer Correct ?    1 Yes 1 No

Use of environment variables?..

Answer / priya

Environment parameters are especially useful for
localization testing, when you want to test an application
where the user interface strings change, depending on the
selected language. Environment parameters can be used for
testing the same application on different browsers. You can
also vary the input values for each language by selecting a
different Data Table file each time you run the test.
You can also create environment output values, which
retrieve values during the test run and output them to
internal environment variable parameters for use in your
test.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How do you use the parameters.input parameters and out put parameters.

1 Answers   Polaris,


actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


hi study this carefully,WHO ARE TEACHING WITH THE HELP OF FLIGHT RESERVATION WINDOW...THOSE FACULTIES ARE VERY BAD...BUT WHO ARE TELLING WITH PROJECT ORIENTED MEANS(NOT FR WINDOW) DIRECTLY OPEN THE BANK WEB PAGES OR ANY OTHER REAL TIME WEB PAGES... BASED ON THAT WEB PAGES, FACULTY TEACH, IN THIS WEB PAGE WHEN UR USING QTP , WHEN UR USING MANUAL... WHERE UR WRITING THE SCRIPTS FOR THIS WEB PAGE.. .LIKE THIS ................THIS IS THE TEACHING FORMAT FOR QTP... 1ST U FIND OUT WHO IS FOLLOWING THIS TYPE OF FORMAT THOSE PEOPLES ARE .BEST FACULTIES AND JOIN THAT INST. THIS IS 100 % TRUEEEEEEEEEEEEE REMEMBER IT........ NOW ONWADS U HATE FLIGHT RESERVATION WINDOW ONLY REAL TIME WEB PAGES........... THAN KU

1 Answers  


WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


what is frame work?

2 Answers   Wipro,






Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


Explain runtime dynamic settings?

0 Answers  


How are actions and functions different in QTP?

0 Answers  


Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?

1 Answers  


What is Cross browser testing? Does UFT support it?

0 Answers  


plz explain QTP real time work( Means where you store scripts and how u access scripts next day? where those activities we are maintaining, If By usig VSS how the process in going on , plz explain briefly?

2 Answers   CTS, Tech Mahindra,


Definationions for keyword view and tree view?

1 Answers  


Categories