The Java Code for Automation