Hi Wojciech,
Did you set the Object tree model project option to Flat in TestComplete 10?
Trying the same on new TC10 it doesn't add any number |
What numbers do you mean? These ones?
w.cbData_3.ClickItem('199;GRANDE PUNTO');
w.cbData_2.ClickItem('130.3;Active 1,2 65KM');
It looks like this is the index of the window. So, make sure that the Index property is added to the mapping criteria of this object.
The Flat mode is quite obsolete. Today, the Tree mode is used more often, and it's much easier to handle objects in this case. I can suggest that you use the following approach if you decide to migrate your test to the Tree mode:
1. Run the
recording of the test in TestComplete 10.
2. Run the test execution in TestComplete 7.
TestComplete 10 will record all the actions over your application that TestComplete 7 executes. You many need to modify the recorded test. However, it should be easier than creating the test from scratch.