what is the Exact Meaning of Environment Variables?

Answer Posted / kalyan

EV are related to un & Pwd & URL of the application under
test.We can write this in the notepad and save in EV folder
with .ini extension in the Frame Work.(NOTE:-we have to
use[]to write EV)

When Ever Required using below code we can load this in the
script.
-----------CODE--------
environment.loadfromfile "path.ini"

Any doubts---------mail to-----mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1619


Hoe can we do retesting using functions please give the code for it using login page

1562


what are the challenges you have faced while testing web based application using the automation tools ?

593


Connect to QC using AOM.

1233


Difference between test object and run time object?

588






How do we handle run-time errors?

575


How will you report the bug and explain the defect tracking sheet you handled?

2546


Analyzing the checpoint results?

595


what is the structure for the data driven framework

1478


What is an optional step in qtp ?

632


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

562


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

1422


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1487


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3269


Hello friends..... On which areas of an application we can not test with QTP

1553