Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1)what is the Exact Meaning of Environment Variables?

2)what is Compile Module in QTP? what exactly it contains
Functions or Actions?

Answers were Sorted based on User's Feedback



1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what ex..

Answer / sushil

we use environment variable to make our variable global.
evironment variable can be used across different Script,
Scenario.

suppose u r connecting to database in the five script.
then better define global variable.

u can enter global varible in following way
qtp-->file-->test setting -->environment-->user defined(in
variable type)
or u can create xml file and upload.

about compile module
ans given reddy is correct

Is This Answer Correct ?    3 Yes 0 No

1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what ex..

Answer / 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

1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what ex..

Answer / brahma reddy

win runner contains compile module.but qtp does not support
complie module.compile module means library files in
qtp ,which contains functions not the actions

Is This Answer Correct ?    1 Yes 1 No

1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what ex..

Answer / tvsramakrishnachowdary

whenever the common values to be use in multiple scripts
than it is suggested not to declare local variables in all
the tests individually.It is better to declare all the
common variables in seperate environment file,attach it to
the required tests and use those variables inside the
tests.by doing this the advantage is in future if
environment is change and some of the valuues of those
variables need to be capturedinorder to make the scripts
compatable with the environment with the minimum efforts we
can update values in the environment file instead of
updating in all the scripts.....


Sorry i never gone though compile module concept in QTP

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

how to test load test and block box testing an a web based application pls give ans briefly

0 Answers   Impiger,


if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?

2 Answers  


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

0 Answers  


what is the extension of action script template?

7 Answers   Capco,


HI, Based On The Information Below Write A Data Driven test Script Edit Box 1 Should take Value From Num1 Column Edit Box 2 Should take Value From Num2 Column Click On Add Button, Get The Value Of Exp res Column, Get Value From Actual Result Edit Box , Compare Two Values, Write Pass / Fail Value Into Result Column Thanks In Advance... Kavitha Input.Xls Num1 Num2 Exp res Act res Result 10 30 40 40 Pass 50 40 90 90.5 - - - - - - - - - - - - - - - -

5 Answers   UHG,


what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester?

3 Answers   Wipro,


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

0 Answers  


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


Now it appears to be more than enough... I have learn entire QTP, I did whatever I could do but still facing lots of problem and those problems could be removed only after working in professional atmosphere. But still unable to expose myself as professionaly. It is becoming panic, It has been two years I am in manual testing and looking for the change but all the recruiters ask for QTP, but my problem is I don't have working experience with QTP. Kindly suggest me I really need effective suggestions. I dont have more caliber to work with present organization cause of salary reasons...boo.. hooo...hooo. My email address is alkaa.dugaal@gmail.com

0 Answers  


what type of test cases tou will automate?

4 Answers   Google,


How to load the object repository at run time?

1 Answers  


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


Categories