How can I handle Java dynamic objects in QTP 11.0?
There is a smoke test scenario where simple search is performed and the first occurance in JavaTable is selected (by double click) then sub-window opens (JavaWindow). I can add this subwindow to the Object Repository and make any action with it.
The test runs fine until database changes. Then subwindow is opened by clicking on another item (first item has changed) also sub-window name has changed correspondingly to selected item's name. And QTP throws
Object not found in object repository error.
But the sub-window structure is still the same and basic actions I want to check is the same. How can I handle this situation?