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
how to test Web application using QTP software
Explain different checkpoints in qtp.
why text area checkpoints cannot used for web applications
What is the default add-ins in qtp?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
Output values? i want a practical example
What is checkpoints for qtp?
Give the syntax to load function at run time.
How will you test a keyboard?
how can i call function (which has link with excell sheet at a remote location) within another function
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
how will you load the test cases in ddt?
Explain different type of event trigger option.
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is the differences between image check point and bit map check point?