Can any one explain about environment variables with examples?
Answer Posted / prathyusha
Environment Variables are used to get the basic information of system .
we do have two types
1.inbuilt environment variables
2.user-defined environment variables
Inbuilt environment variables used to get the basic information of system like test name,action name,user name,os
Eg: Environment.value("User Name")
User defined environment variables
two types
a.Internal environment variables
b.external environment variables
Internal Environment Variables are used to pass the values form one action to another action.
External environment Variables are used to store the master credentials of application.For this we can use Xml files to store the information and we can associate these files to the test and we can read the value using Environment.value("some variable").
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
If I change the object name in one action will it be updated in all the actions? Or not?
What is a quick test professional?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
What are advantages of test automation?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
Explain step generator in qtp?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Explain different types of checkpoints?
What are the various automation frameworks available in qtp?
How will you test a keyboard?
What is CMMP and CMMH?