Forum Discussion

bwolsleben's avatar
bwolsleben
Occasional Contributor
4 years ago

TestComplete Best Practices

Hi folks, I was wondering if any of you have Best Practices that you follow for TestComplete and testing in general. Such as the Hierarchy or Logical Grouping of your folders, (Project_Suite > Projec...
  • Marsha_R's avatar
    Marsha_R
    4 years ago

    Here are some more best practices

    https://support.smartbear.com/testcomplete/docs/working-with/best-practices/index.html

     

    Name mapping is indeed a pain with more than one person working from same one, but the process that I've used is to merge it on a regular schedule (say every two weeks).  All the team gives their name mapping files to one person who does the merge and creates a master name mapping in an empty project.  Give that name mapping back to the team to make sure it works for everyone and adjust if necessary.  When that master is good, commit it and then everyone works from that one going forward.  Do the merge inside TestComplete, don't use git or other merge or you will have a mess.

     

    Always always always back up your name mapping file before you try something new.  Always.

     

    Keyword tests are useful for new learners and for getting code that you can't quite figure out in a script.  Take advantage of the "Convert to script" feature.

     

    Ask lots of questions on the forum, even if you think they're too simple.  You aren't the first new user and you won't be the last and there will be someone else who will learn from your post.  We are happy to help and we've all been where you are.  Better to ask than to spend hours being frustrated.  🙂