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