Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Environmental Variables and Global Variables
#2
Solved: 11 Years, 4 Months ago
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.
Reply


Messages In This Thread
RE: Environmental Variables and Global Variables - by leninraj - 12-30-2010, 02:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,640 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 965 09-11-2019, 02:52 PM
Last Post: siddharth1609
  global object which can be called in any action excellentpawan123 2 2,771 04-01-2015, 07:34 PM
Last Post: babu123
  Sometimes there is Global datasheet. utestqa 0 2,717 10-02-2013, 07:09 PM
Last Post: utestqa
  where to declare variables?? ACCBAJPA 0 2,373 10-01-2013, 07:20 PM
Last Post: ACCBAJPA

Forum Jump:


Users browsing this thread: 1 Guest(s)