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