Automation Testing - Best Practices
To get maximum ROI from automation, observe the following Scope of Automation needs to be determined in detail before the start of the project. This sets the expectations from Automation correctly. Select the right automation tool: A tool must not be selected based on its popularity but its fit to the automation requirements. Choose appropriate framework Scripting Standards - Standards have to be followed while writing the scripts for Automation .Some of them are to create uniform scripts, comments and indentation of the code Adequate Exception handling - How error is handled on system failure or unexpected behavior of the application. User defined messages should be coded or standardized for Error Logging for testers to understand. Measure metrics- Success of automation cannot be determined by comparing the manual effort with the automation effort but by also capturing the following metrics. Percent of defects found Time required for automation testing f...