Posts: 21
Threads: 7
Joined: Jul 2010
Reputation:
0
12-29-2010, 05:32 PM
Hi,
Is there any difference between Environmental variable in terms of usage. Can some one explain this.
Please post any information that you are aware of the two kinds of variables here so that it is useful for the one who views this thread.
Thanks in advance,
Prasad.
Posts: 4
Threads: 1
Joined: Aug 2010
Reputation:
0
12-30-2010, 02:55 PM
Hi Prasad,
The Environment & Global Variables are just the same, you can define in the QTP tool itself or through any XML file.Once you define it you cannot change the value in your test script/function.
But there is another way you can define those through globaldatadictionary,here you can change the variable at any time in the test script and the scope is global too.Check the QTP man pages for global dictionary, you need to make some registry entries for the first time.
Rgds
Lenin.
Posts: 50
Threads: 2
Joined: Jun 2009
Reputation:
0
12-30-2010, 05:11 PM
Internal Enviornment variables value can be changed in our test script.values of External Enviornment variable can not be changed in the script.