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

Ex : some mail name with surname Email id's there that is string fetch the particular surname only how to get particular surname all emails

1 Answers   Infosys,


Write a function which returns the addition of two numbers. give the value of the numbers outside the function.

3 Answers   SAP Labs,


Can we create user defined functions in qtp?

0 Answers  


PLS SEND REAL TIMERS, WHAT IS SOA TESTING..IM TRYING 3+ YR.. I HAVE GOOD KNOWLEDGE ON MANUAL TESTING... NOW IM NEW TO LEARN "ETL TESTING" IS BEST OR NOT? BEFORE LEARNING ETL TESTING ANY SKILLS ARE REQUIRED..... AND NOW WHAT IS THE MARKET FOR ETL TESTING... AND IT IS BASED ON PROGRAMMING OR NOT?PLS HELP ME REAL TIMERS IM REQESTING U..... CONTACT ME gan9000@gmail.com

1 Answers  


Explain the Load testing process?

1 Answers   Crea,


somebody please say me why we go for using regular expressions,actions.what is the main and exact use of this in real time applications.real time testers pls answer my question with example if u can

4 Answers  


write code to read and write data from file?

1 Answers   IBM,


how to compare two excell sheets by using vbscript??

2 Answers  


QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?

6 Answers   IBM,


How to get the particular property value?

0 Answers  


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.

2 Answers  


Categories