Thanks Anish!!!! On Wed, Aug 31, 2011 at 12:47 AM, Anish Pillai <[email protected]>wrote:
> Hi Sain, > > To make your object global, you can declare/define it in your function > library. That way all the test cases that you associate with your function > library will have access to the object. > > But what I personally feel is that DB connections should not be kept open > for longer durations. Its better to close the connections as soon as your > work is done. One can always reopen the connection whenever they want. But > I'm not sure how other people think about this point. > > Hope this helps.. > > -- > Regards, > Anish Pillai > My QTP Blog <http://automationrepository.blogspot.com> > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
