code: @Override
      public boolean upload(String filePath) {
          WebLocator upload = new WebLocator(this).setTag("input").setType("file");
          return upload(upload, filePath);
      }
docs: Upload file with AutoIT.
  Use only this: button.upload("C:\\text.txt");
  
  @param filePath e.g. ""C:\\text.txt"
  @return true | false