This chapter describes best practices in automation related to writing code, creating tests, and building your automation framework. Also mentioned are some of the common mistakes that automation engineers produce in their work, and ways to avoid those mistakes. Some tips in this chapter are common for both automation and development, while others are specific for testing automation only.
1-1. Do Not Use Record & Play in Real Projects
Most automation tools (especially commercial ones) have Record & Play functionality: the ability to automatically record certain actions and then play ...