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
Explain how to use QTP to check broken links on a page?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
What is the difference between keyword view and expert view?
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.
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.
your coming from electrical backgroung..but y ur coming to software side?
How is test case write?
What is reusable action?
If object is not recognized by qtp but the object is standard object what is your approach?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
What are the recording modes in qtp?
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
Explain how you can delete excel file in qtp?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value