09-30-2009, 06:35 PM
Andrew -
I know that you have got what you were looking for. An insight into your problem specify's the reason you need to know what is causing the issue.
1. Each browser is identified by its title. If you have multiple browsers and if you are working with the Object Repository then you will need to store the browser objects, so that each of them gets uniquely identified.
2. One of the methods exposed by Deepak is a concept called Descriptive programming where you would create a object on the fly and not use the stored property. An undocumented feature of a browser is the creation time. The first browser opens with a creation time of zero and the subsequent browsers opened will be 1, 2, 3, etc...
Whenever you would want to know more about a object spy on it and try to read the TO and RO properties which will throw more light about the object. This will help you to understand each part of the object better.
Hope this helps...
I know that you have got what you were looking for. An insight into your problem specify's the reason you need to know what is causing the issue.
1. Each browser is identified by its title. If you have multiple browsers and if you are working with the Object Repository then you will need to store the browser objects, so that each of them gets uniquely identified.
2. One of the methods exposed by Deepak is a concept called Descriptive programming where you would create a object on the fly and not use the stored property. An undocumented feature of a browser is the creation time. The first browser opens with a creation time of zero and the subsequent browsers opened will be 1, 2, 3, etc...
Whenever you would want to know more about a object spy on it and try to read the TO and RO properties which will throw more light about the object. This will help you to understand each part of the object better.
Hope this helps...
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.