Quality assurance (QA) involves maintaining a desired level of quality in a product or service through attention to every stage of production or delivery. Automated testing is important for QA because it allows for more tests to be run than would be possible through manual testing alone. Automating tests reduces the costs associated with testing by allowing many more tests to be run each day compared to manual testing.