ruby - Calabash -Android: Can we simulate Home button on Android devices for Calabash-Android? -
can simulate home button on android devices calabash-android? need tap on home button in our scripts execute scripts using calabash.
i have not tried yet myself. looking around solution did find this.
link http://krazyrobot.com/2014/02/calabash-android-enter-text-from-keyboard-using-adb/ balazs balazs aka krazyrobot
his solution use send keycodes, home button keycode_home. wrapping calabash give you:
system("adb shell input keyevent keycode_home")
again have not tried this, sounds solution.
Comments
Post a Comment