Creating Effective Test Automation Scripts: A Detailed Tutorial