I need one clarification on how we can define global variable in QTP. Please find below details.
As I understood , I have define global variable using PUBLIC key word, Like: public var1 as string. In a file1.vbs file, declared above all the functions and Iím able to retrieve this global variable values for all the relevant functions during run time.
My query is , if we wanted to use this global variable value in other .vbs files, how we can do the same.
you declare the variable in one of the vbs file and make call as soon as your script starts now all the variables would be available in global memory, so there you go in your other vbs files you can use the global values.
when things gets harder ,the harder gets going