private void initExceptionTestButton() {
    Button exceptionTestButton =
        (Button) findViewById(io.selendroid.testapp.R.id.exceptionTestButton);
    exceptionTestButton.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
        throw new RuntimeException("Unhandled Exception Test!");
      }
    });
  }
Demo project to verify selendroid actions.

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