@Override
          public void onClick(DialogInterface dialog, int which) {
            RegisterUserActivity.this.finish();
          }
Demo project to verify NativeAndroidDriver actions.

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