What are the environment variables?

Answer Posted / uday

Environmental variables are useful when parameters defined
in different actions accessible through out the test.

These are also useful to get system, test and other
information like OS, TestName etc...

Two types of environment variables:
1. Build-In Env: ex: TestName, OS name,Iteration name,
action name etc.
2A. User defined Internal: These variables are read-write
vars. We can give a var name and value.
2B. User defined External: These variables are read only,
loaded from external xml file.(This is useful in localizing
testing).

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

654


how to download mercury qtp9.2 ny internet ?

2964


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1485


Where to use Property Let, Property Get, Property Set in UFT

372






what is the hierarchy to use properties in descriptive programming

1500


What is QTP testing process?

628


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

584


In qtp, how you can get the last character from a string?

556


What is expert view in qtp?

585


How many types of recording modes in qtp? Describe each type with an example where we use them?

613


Can I change properties of a test object?

625


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1717


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1429


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

1899