androidtestingautomationcalabash

Calabash Android: Is there a special perform_action command for pressing the search button on the Android keyboard


The command perform_action('send_key_enter') sends the enter key but for our search field, the enter key is replaced by the search key in the Android keyboard.

Is there a special perform_action command to send the input of the search key?


Solution

  • I have been able to solve this by the following command: press_user_action_button('search')

    Source: https://groups.google.com/d/msg/calabash-android/Tl14BqQeWoU/zlxm3hRIpsQJ as part of the v0.5.2 release notes.