最常见的做法是使用按钮控件。
The most common way to do this is via the button control. There are several styles of buttons.
弹出按钮容器和按钮控件
注意,现在当鼠标置于按钮控件上方时,将会显示添加到Help文本中的文字。
Notice now that when the mouse is over the button control, the text you added to the Help text is displayed.
模拟用户在文本框和Combobox控件中键入颜色的操作之后,自动化会模拟点击按钮控件。
After simulating the actions of a user entering colors for the textbox and combobox controls, the automation simulates clicking of the button control.
请注意,测试自动化是通过直接调用按钮控件的相关方法模拟按钮单击的,而不是通过触发事件模拟。
Notice that the test automation simulates a button click by directly invoking the button control's associated method rather than by firing an event.
您已经掌握了基础技能,因此,让我们看看一个实际示例,结合一个push 按钮控件和一个更为复杂的宏。
You have mastered the basics, so let's look at a practical example that combines a push button control with a more complex macro.
您必须键入一些输入,单击按钮控件,直观验证结果消息,并将结果记录到Excel电子表格或其他数据存储中。
You'd have to enter some inputs, click the button control, visually verify the result message, and record the result into an Excel spreadsheet or other data store.
XDIME也支持菜单列表、复选框和单选按钮等控件。
XDIME also supports controls like menu lists, checkboxes, and radio buttons.
除用户选择区之外,还有一个包含控件按钮和预览窗格的部分。
In addition to the user selection area, there is a section containing the control buttons and a preview pane.
所有windows应用程序的按钮,windows控件以及对话框的绘制都使用了它,所以我们知道它是经过了测试的,而且工作良好。
It is used to draw buttons, window controls, and dialog boxes for every Windows application, so we know that it's tested and works well.
在create表单中,拖动或双击编辑框下面和按钮上面的RichText控件。
On the create form, drag over or double-click a Rich Text control below the edit boxes and above the buttons.
弹出对话框控件支持两种按钮 —cancel和normal。
There are two types of buttons supported by the pop-up dialog control—cancel and normal.
当您选中“Inputtingdata”单选按钮时,CheckBox将会位于控件类型列表的顶部。
When the "Inputting data" radio button is selected, Check Box will be at the top of the control types list.
您可以使用该对话框来观察如何使用find方法在对话框中定位按钮,以及为每个控件获得一个TestObject。
You can use this dialog to see how to use find to locate the buttons in the dialog and to get a TestObject for each control.
导航到Edit模式时,portlet页面应包含三个按钮和两个文本控件。
When navigating to Edit mode, the portlet page should contain three buttons and two text controls.
这种方法计算出按钮中心相对于actionBar 控件的位置,然后点击此点。
This method calculates where the middle of any particular button is, relative to the actionBar control itself, and then clicks that point.
目前,应用中一个明显需要一些加工的地方是我们用户控件的“Close”(关闭)按钮
Right now there is one obvious place in the application that clearly needs some work - the "Close" button on our User Control
为此,我们为每一类型控件使用了一组注册函数:按钮、标签等等。
For this we use a set of register functions for each type of widget: buttons, labels, and so on.
浏览器和服务器的交互只能由页面中有限的控件发起——常常是链接和按钮。
The interaction between the browser and the server is initiated by a limited number of controls on the page — usually only by links and buttons.
这可以是屏幕左边显示为列的内置复合应用程序导航器,也可以是呈现按钮列表及其下拉选项的定制控件。
This could be the built-in composite application navigator that appears as a column to the left of the screen, or it could be a custom control that presents a list of buttons with drop-down options.
按钮是Set、Reset和Backto Viewmode;文本控件用于接受链接名称和链接的URL。
The buttons are Set, Reset, and Back to View mode; the text controls are to accept the Link name and the URL of the link.
通常,通过实现IButtonControl,所有的自定义控件都可以有表单中的按钮同样的效果。
In general, by implementing IButtonControl, any custom control can act like a button on a form.
当用户第一次单击CryptoAPIorGenericRSAsignature按钮时,会安装一个ActiveX 控件,它提供对InternetExplorer/CryptoAPI存储的访问。
When the user clicks a CryptoAPI or Generic RSA signature button for the first time, an ActiveX control is installed that allows access to the Internet Explorer/CryptoAPI store.
我将介绍如何为表格显示创建自定义标记,让它有足够的灵活性以应付不同的HTML控件,如href、选择框、单选按钮、文本框和组合框。
Here, I'll explain how to create a custom tag for table display that is flexible enough to handle different HTML controls, such as href, checkbox, radio button, text field, and combo box.
这意味着,你能在应用程序中使用所有的标准iPhone控件,如选择器(Pickers)、滑动条(Sliders)、按钮等等。
This means that you have all the standard iPhone controls available to your application, including Pickers, Sliders, Buttons, etc.
这一技术同样应用到了控件上(如按钮),尽管实际上有一个三状态选择框看起来更有用些。
The same also applies to controls (such as Buttons), although practically the ability to have a three-state checkbox is likely to be more directly useful.
SWT具有您期望从现代库中获得的所有控件,譬如输入域、列表和按钮。
SWT has all the controls you would expect from a modern library, such as entry fields, lists, and buttons.
SWT具有您期望从现代库中获得的所有控件,譬如输入域、列表和按钮。
SWT has all the controls you would expect from a modern library, such as entry fields, lists, and buttons.
应用推荐