Automation helps by doing repetitive tasks efficiently<\/p>\n
What happens when your code is not exactly ‘reusable?..<\/p>\n
Automation engineers sometimes are trying to script for the immediate test scenario<\/p>\n
And forget the whole point of automation was reusability.<\/p>\n
This is different from a script breaking from not have good selectors..<\/p>\n
Writing similar code across the project in multiple classes \/ files<\/p>\n
And again repeating that in mulitple projects across one on multiple products<\/p>\n
So make sure to keep each component of the framework reusable<\/p>\n
As reusable as possible, not for just your project, but if synergies exist, between projects as well.<\/p>\n
The concept of ‘loosely coupled’ somehwat captures this idea.<\/p>\n
#QsDaily #Automation #FrameworkDesign<\/p>\n
<\/p>\n
More on the subject here:<\/p>\n
<\/p>\n