Results 1 to 4 of 4
  1. #1

    Global Variable across Library

    I am facing a Problem in QTP. I have a Main driver script which calls some functions from other function library. Can a define a variable some where which i can use across all functional library and driver without actually having to pass it?

  2. #2

    Re: Global Variable across Library

    Yes, this is simply declaring a global variable in any vbs library file outside the functions.

    Those variables can be accessed across all the vbs files that are associated in a script.

  3. #3

    Re: Global Variable across Library

    How abt Environmnet variables?


    Declaring Public variables in your Main driver script/test and using them across your library files

  4. #4

    Re: Global Variable across Library

    thanks QA_Auto_Tester. Declaring in the Driver script solved the problem.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:38 PM.

Copyright BetaSoft Inc.