1)what is the Exact Meaning of Environment Variables?
2)what is Compile Module in QTP? what exactly it contains
Functions or Actions?
Answer Posted / nanda.d reddy
Sushil u have given Answer.
the variables which has to be use in deffent scipts in
different environments( Likes different user
machines,different user logins)can be called as Environment
Variables.
This environment Variables are two types:
1) Built - In
2) User Defined.
1) Built - In : This variables activates only at run time.
and the values of this variables depends on the system
environment which the script is been executing.
For Example:
if u want to report to results that which user is
executed the script and which action has been executed and
on which operating system and how many Iterations u can use
like below.
reporter.Reportevent midDone, "Executed User","This
script is executed by :"&Environment.Value("UserName")
if u want to report Action Name : Environment.Value
("ActionName")
this values will change action by action.
User Defined:
Generally we put the comman variables in XML file
(External user defined Env. File) like URL of the
Application( This will common to all scripts are all
users) , Root_Path of the folder structer, Admin user and
admin password. like this.
this is becoz to avoid the hard coding. we should not
give chance to end users to modify the scripts. if URL of
the application is changed, simply he can change same in
XML file, and can execute.
if u didnt get ping me at :
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Limitations in QTP?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
Explain the features and benefits of quick test pro(qtp)?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
How do you open adobe acrobat file in QTP and do some testing on that file ?
How will you find the current time of the remote machine using QTP script?
What Folder Structure following in Keyword Driven Frame work?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What are the advantages of parameterization ?
Explain types of descriptive programming?
What are the check points can be inserted without recording?
Will down time for server and content maintenance/upgrades be allowed? how much?
what is ODC and GDC?
what is actually contain test report? can anybody post the test report