Forum Discussion

whoopster's avatar
15 years ago

Web test: Cell Indexes are not the same with TestComplete6 and TestComplete7

We have seen that web test scripts that were recorded with Test Complete 6 (6.53) do not play correctly with Test Complete 7.


Specifically, we have seen that cells within a table are somehow indexed differently so that the Test Complete 7 on script playback actually references a different object in the table.


Is there a way to fix this, as we do not want to rerecord several hundred scripts.


1 Reply

  • Hello Mark,




    We did not change this intentionally. Most probably, the indexes changed because of a side effect of some other changes.

    But it is unlikely that we will revert the old behavior, because this may mean broken scripts for TestComplete 7 users.




    However, using indexes for object recognition is not good - they are not guaranteed to be stable even from one browser run to another. Indexes often change when developers do even small changes to the tested web page. So, I recommend that you choose some other recognition criteria in the future to make your tests robust and maintainable. To use an arbitrary set of recognition criteria for every object, you can use the Name Mapping feature.