A comparison between actual and expected results using a test script is called automation testing. In Automation testing, we need to write a test script using any automation testing tool. It is very useful during regression testing. Using automation testing, we can save time and money.
Learn more - https://www.c-metric.com/blog/what-is-automation-testing