I am working with java addin in Qtp 9.0. and the application is window based in one screen we have six tabs. I added one tab in object repository when iam trying to add second object it is adding to the first object. find the below properties
When i spy the object all the properties are same for all the tabs except value. But the problem is this value is changing randomly some times it is showing as #0 some time as #1.
Without seeing this for ourselves it may be difficult to give you any suggestions. But here are a few questions:
1. Does the index change depending on which is selected?
2. You define the default mandatory properties that QTP will record in the Tools->Object Recognition dialog. But if you select the object in the OR and then click on the '+' sign it will show you all the properties that were captured when the object was recorded. Do one of the available properties in the full list provide a unique identifier for each tab? If yes than you can manually add that to each of the tabs.