Java Automation technique deals with code that can be used to control the execution of specific UI operations in Java. This is helpful in the following scenarios: 1. To test Java Thick Client Applications where repetitive testing can be automated (UI automation testing) .