葫芦的Andr​​oid:是否有pressing Android键盘上的搜索按钮特殊perform_action命令 [英] Calabash Android: Is there a special perform_action command for pressing the search button on the Android keyboard

查看:124
本文介绍了葫芦的Andr​​oid:是否有pressing Android键盘上的搜索按钮特殊perform_action命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

命令 perform_action('send_key_enter')发送回车键,但对我们的搜索栏,回车键是由Android键盘搜索键所取代。

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.

有一个特殊的 perform_action 命令发送搜索键的输入?

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

推荐答案

我已经能够用下面的命令来解决这个问题: press_user_action_button('搜索')

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

来源: https://groups.google.com/d/ MSG /葫芦-的Andr​​oid / Tl14BqQeWoU / zlxm3hRIpsQJ 作为的一部分v0.5.2 发行说明。

这篇关于葫芦的Andr​​oid:是否有pressing Android键盘上的搜索按钮特殊perform_action命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆