Q: When to write automated test scripts?
A: This is one of the main module of test strategy process that depends on the condition of written test case according to requirement of real use of programs.
Software/Service is there to be used by many users at same time and getting many repetition for verification process & there may be some complex features so due to this automated process should be use there. By automated process repetition can be done easily and parallel service request complexity will not so hard to verify.
Automated scripts can also be used for further verification techniques such as retesting and regression testing or scripts can also be there for performance & security.
Taking a simple example to know more clarity, such as a “contact us form” on website and there are some fields like “name, email, phone and address” and now script can be recorded on any “recording supported tool or created by QA after creating script tester will run the test script and suppose get an issue like “value of name field” is not being stored in “database” then further developer will fix issue and QA get revert back with updated status from developer and now QA won’t need to write any new script just or spend extra time just need to run created script and result will be generated in few minutes.
Thanks