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
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Mention what are the different types of recording modes in qtp? Which will be used when?
Discuss the QTP Environment?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Explain about the test fusion report of quicktest professional?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
how can i call function (which has link with excell sheet at a remote location) within another function
What is object repository in qtp?
Explain quicktest professional (qtp) testing process?
Difference between test object and run time object?
Explain the differences between table and db checkpoints?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
What ate the Technologies supported by QTP?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
If I change the property value at runtime is it effect is object repository?