So what we are trying to do is to optimize our automation library, that is to create a library of functions that can be used within any other project with the help of "USEUNIT unit1" , for example.
Now, the questions are:
1. Does TestComplete have (or is there any planned functionality in the future?) any code creation wizard which is based upon some logics that the user specifies.
What we're trying to achieve is to reduce maintainability cost by the creation of the sample logics that all other testers will use.
2. Could you please suggest whether the solution of the 1st item (see above) is possible if to integrate TC6 with Visual Studio, say to develop some UI tool that will perform specified capture-playback actions based on some template (so when the UI changes we'll need to modify only the template)?
3. Is there any functionality to create such a template?
We have actually developed a framework similar to what you are describing.
The framework itself is still very new and is not completely mature yet, but I would definitely recommend this for developing automation projects.
It took us about two weeks to develop the framework itself. It took us another two weeks to create includes specific to the AUT. Following that, we are creating automation tasks that are now 20-30 lines of code which represent about 10-20 times that amount.
This is HUGE because the biggest obstacle in an automation project is accuracy, so if you are actually recycling 90% of your code then you drastically decrease your room for error.
As for integration with Visual Studio. Never done it, never really thought of it. Based on what I've seen with TC, though, I'd have to sasy no. TC6 is pretty strong with the development environment anyway, what is it missing that you were looking to fill in with VS?
Would you be in position to share that framework? That seems like a worthwile place to start sor anyone who wants to customize this for their own needs, or even help with the development (as it was stated in this thread )