事件通常用于通知用户操作,例如,图形用户界面中的按钮单击或菜单选择操作。
Events are typically used to signal user actions such as button clicks or menu selections in graphical user interfaces.
在您构建该视图时,您为按钮添加了一个选择侦听器,以便应用程序能够对按钮单击作出响应。
As you're building the view, you add a selection listener to the button so that your application can respond to button clicks.
请注意,测试自动化是通过直接调用按钮控件的相关方法模拟按钮单击的,而不是通过触发事件模拟。
Notice that the test automation simulates a button click by directly invoking the button control's associated method rather than by firing an event.
现在可以转到开发人员控制台以查看TestActivity日志以及按钮单击所引发的消息。
You can go to the developer's console now to look at the TestActivity log and see the message emitted by the button click.
在所有情况下,都需要对表单按钮单击或页面重载进行响应以便利用表4中的uri来get、POST、PUT或DELETE内容。
In all cases, you will respond to the click of a form button or a page reload to GET, POST, PUT, or DELETE content using the URIs in Table 4.
尽管JSF给了您很多事件选项(菜单项选择、按钮单击,等等),但是大多数Model2依赖于更加简单的“请求接受”。
Whereas JSF gives you a host of event options -- menu item selected, button clicked, etc. -- most Model 2s rely on the more simple "request received."
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
单击该按钮以选择类型。
关闭设计模式时,单击按钮控件。
当单击按钮时,所有属性都被触发。
单击按钮将切换标签。
单击这个按钮,然后再单击这个绿色的拼图块。
Click that button, then click the green jigsaw puzzle piece.
完成时,单击OK按钮。
首先将字段清空,然后单击按钮。
单击按钮,窗口会关闭。
单击ok按钮。
单击ok按钮继续。
选择关系名称旁边的单选按钮,然后单击Create。
Select the radio button next to the relationship name and then click Create.
在清单3中的例子中,我创建了一个简单的按钮,单击它会提示jQuery填入一个带有内容的。
In the example in Listing 3, I create a simple button that, when clicked, prompts jQuery to fill a with content.
选中按钮,单击Source选项卡。
这是SendMessage按钮的单击处理程序代码。
单击Apply按钮确认更改,然后单击ok。
Click the Apply button to confirm the changes, before clicking OK.
您将添加一个获取用户名的文本框,以及一个Submit按钮,单击这个按钮,就会打印出 “Hello Worldfrom <username>”。
You will add a text box that will take the user's name and a Submit button which, when clicked, will print "Hello World from <user name>."
选择.cs v单选按钮,然后单击Export(如图22)。
单击按钮调用startsearch函数。
选择Searchfornewfeaturesto install单选按钮,单击Next。
Select the Search for new features to install radio button and then click Next.
阅读许可协议,如果您接受许可条款,单击Accept单选按钮,然后单击Next。
Read the license, click the accept radio button if you accept the licensing terms, and click Next.
如果许可协议是可接受的,选择Iagree单选按钮并单击Next按钮。
If the license agreement is acceptable, select the I agree radio button and click the Next button.
如果许可协议是可以接受的,选择Iaccept…单选按钮,然后单击Next按钮继续安装。
If the license agreement is acceptable, select the I accept... radio button and then click the Next button to continue with the install.
如果许可协议是可以接受的,选择Iaccept…单选按钮,然后单击Next按钮继续安装。
If the license agreement is acceptable, select the I accept... radio button and then click the Next button to continue with the install.
应用推荐