@Override
    protected String doInBackground(String... params) {
      try {
        Thread.sleep(3000);
        progressDialog.setProgress(25);
        Thread.sleep(3000);
        progressDialog.setProgress(50);
        Thread.sleep(3000);
        progressDialog.setProgress(75);
        Thread.sleep(3000);
        progressDialog.setProgress(100);
      } catch (Exception e) {}
      return null;
    }
Demo project to verify selendroid actions.

@author ddary
selendroid-test-app/src/main/java/io/selendroid/testapp/HomeScreenActivity.java