Honeywell Interview Question

What is automation testing and how to Write automation script.