In our cmpany, we are slowly moving towards using Descriptive Programming for our QTP scripts. What we are doing primarily is creating the descriptions of all the objects that we need and using them in our scripts.
While this works fine, our object repository is getting just as big as it used to be when we did not use DP.
My question is, what are we doing WRONG?
Is there any way to use a general description for like object? (such as, two or more Button but with different Names)
Is there a way to generate the descriptions during Run time? (Through a custom Function may be!!!)
I apologize in advance if all or any of these questions sounds silly. But any help in these matters will be greatly appreciated.
Re: Questions about the startegies of implementing
It depends how you manage your object repository. People create different VBS file for different pages which makes is easier for them to manage. Your approach of using DP can great reduce the issues in case of a huge OR.