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...

what are the environment variables,how do you use them.
give an example.

Answer Posted / chakrapani

Built in Enironment
a=Environment.Value("TestName")
msgbox a (this gives test script name )
if u see in qtp Resources Environment built in u find many
things like TestName, Pathdir,version etc

User defined Evironment

i want to store a value in run time and pass to another
script then
a=Enironment.Value("DocumentNumber")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use QTP to check broken links on a page?

996


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2758


What is the difference between keyword view and expert view?

1061


When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

2123


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1902


your coming from electrical backgroung..but y ur coming to software side?

1786


How is test case write?

1037


What is reusable action?

1089


If object is not recognized by qtp but the object is standard object what is your approach?

1021


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

2137


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

2018


What are the recording modes in qtp?

1033


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1865


Explain how you can delete excel file in qtp?

1041


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

2061