Merge changes I077bb3e9,I954c4c21 into qt-dev

* changes:
  Use UiAutomation to inject input event
  Use JUnit4 in AlertDialog_BuilderTest