3

I wanted to know if there is a way in which we can assert if the soft keyboard is launched when we tap on edittext using robotium

Prateek
  • 3,664
  • 5
  • 35
  • 73
srinivasv
  • 125
  • 8
  • possible duplicate of [How do I Detect if Software Keyboard is Visible on Android Device?](http://stackoverflow.com/questions/4745988/how-do-i-detect-if-software-keyboard-is-visible-on-android-device) – Peter O. Apr 03 '13 at 21:57

1 Answers1

0

See correct answer for the question How do I Detect if Software Keyboard is Visible on Android Device?

Also you could use setInputType(0) method to make sure that the keyboard will not be shown while you enter text with robotium.....

solo.getEditText(index).setInputType(0);
Community
  • 1
  • 1
VMaleev
  • 1,263
  • 1
  • 9
  • 20