Forum Discussion
4 Replies
- tristaanogreEsteemed Contributor
A common theme here on the community is best practices, etc., with regards to name mapping/aliases. Would be cool to have a free class to go through some of the ways that Name Mapping, when done well, helps make automation easier and, if not done well, can give headaches.
Something else to include would be something on debugging object recognition problems as that is a common error. Include things like increasing Auto-Wait timeouts, using Find, FindChildren, etc., methods, using WaitNNN methods, etc., to mitigate object recognition problems.A basic class on how, exactly, TestComplete projects, project suites, script units, keyword tests, etc., all inter-relate. Some questions in recent days here on the community have included how to call tests from one project in another project, how to call tests, projects, project suites from command lines, etc.,
Something near and dear to my heart lately has been Script Extensions and using them to encapsulate common code to be used across all projects without needing to "Add existing items". Currently, I've been doing a lot of RunTime Objects but it would be cool to have a whole series on Script Extensions for Run Time Objects, Design Time Objects, Record Time Objects, Keyword Operations, etc.Just some ideas. :)
- nebstaContributor
tristaanogre wrote:A common theme here on the community is best practices, etc., with regards to name mapping/aliases. Would be cool to have a free class to go through some of the ways that Name Mapping, when done well, helps make automation easier and, if not done well, can give headaches.
I agree - Name Mapping/Aliases are the biggest issue. I would like to see a more advanced training session on Name Mapping/Aliases - in particular how to maintain them:
- Keeping Aliases and Name Mapping structure in line
- Removing unused Name Mappings & Aliases
This is easy enough to perform but there is no functionality included in TestComplete for things such as:
- Knowing when an Alias/Name Mapping is not being used
- Auto updating of all Alias references (e.g. in Table checkpoints, scripts).
There are plenty of suggestions to get these shortcomings implemented e.g.:
But these have been around for a while and do not seem close to being implemented. Given this I would be interested in the best practices to maintain the Name mappings/Aliases without having to manually go through each keyword test and script and change references.
- NisHeraValued Contributor
Hi,
Who are the target audience?
There are beginners, or testers without coding knowledge and coders without testing knowledge. And some intermediate in coding and testing. So the weight of topic may varies according to audience.
I think tristaanogre has covered most topics. I would like to add performance tips. Selecting a language. Handling grids and navigator (treeviews) menus. Tips of debuging your tests.