I am new to TestComplete. I am trying to implement ODT in my project. I am unable to proceed further as to how exactly it would be implemented. I would appreciate if someone would share a sample script. As with evaluation copy I cant find the sample projects. So I am really unable to understand "Object - Driven method". I am very much interested in implementing such system. As my project is very vast (More than 400 forms and tables).
(I have TestComplete 5 and in the process of evaluating TestComplete 8.5)
The application I am supposed to test using an automated tool is quite vast and complex. The application starts with a grid and from there it goes to a detail screen which would several tabs in it. (at an avarage we would have 10 tabs) In addition any tab can again go into another grid and this again leads to a further details screens with tabs in. So only solution would be to have a class hierarchy of each screens and relate them.
So I planned to implement it this way:
1. First I would map all the grid and screen objects using NameMapping.
2. Then write or generate classes for each of the detail screen (each tab).
a. These classes will have all the objects of the screen as properties. Then I would map the objects of NameMapping to these properties.
b. These classes will have methods (actions that can be performed in each screen). Basically these would be the buttons from tool strip control. So I would invoke their click event.
c. It will have methods to enter data into the control
d. It will have methods to retrieve any objects or controls value.
Like this I am trying to build a library of functions.
Once this is available then I would use these to translate my manual test cases using the above library.
I have not worked in any automated testing tools so far. I am basically a developer and have worked in c# applications.