接下来,使用find方法代替上面的代码,利用对话框中该窗口的标签文本来定位PlaceanOrder对话框。
Next, instead of the above code, use the find method to locate the Place an Order dialog by using the label text for that window in the dialog.
如果您的代码假设某个特定的异常一定是一个IOError,那么利用该语言的精确性,就这么说。
If your code assumes that a particular exception must be an IOError, take advantage of the language's precision, and say so.
您需要利用该树状图,来以任何方式编辑生成的代码。
You need to tap into this tree to modify the generated code in any way.
因此,要更好地利用该工具所提供的方法,最好将精力用在进行其他的活动上,比如可视代码检查。
Therefore, the effort required to take advantage of this tooling approach might actually be better spent performing other activities, such as visual code reviews.
在面向对象的开发中,有一种实践很常见:抽象出一个可能拥有多个实现的接口并编写代码以使用该接口,从而使其可以重复利用。
It is common in object-oriented development to abstract out a common interface that may have multiple implementations and write code that works with the interface, making it more reusable.
该工具允许您利用现有的支持(比如rest式服务)来快速创建动态小部件,而不需编写任何代码。
The tool allows you to leverage existing assets such as REST services to rapidly create dynamic widgets without writing code.
根据微软所述,恶意站点可以利用该漏洞在用户机器上运行代码。
According to Microsoft, the vulnerability allows a malicious web site to run code on a client's machine.
如果您稍后编写自己的代码完成模板(是在Eclipse中很容易完成的事情),您可能想利用该特性。
If you write your own code completion templates later (something that is quite easy to do in Eclipse), you'll probably want to take advantage of this feature.
该工具假设您自己设置doctype,但是也包含利用SaxonXSLT 1.1处理能力(也可用于其他处理程序)的代码。
This utility assumes that you will set the doctype on your own; however, it contains code that takes advantage of Saxon's XSLT 1.1 processing (this might work with other processors as well).
在那之后,执行一个大而复杂的bash代码块,该代码块利用了一个非常便利的Linux特性。
After that, we execute a big, complicated chunk of bash code that takes advantage of a very handy Linux feature.
由于利用了Grails,因此您能够快速开发该应用程序,而且只需编写较少的代码。
You were able to develop it rapidly and had to write less code because you took advantage of Grails.
该数据记录器可让安全人员利用内置键盘和显示器现场输入事件代码。
The data recorder allows security personnel to input incident codes on site with a built-in keypad and display.
介绍该电路的主要工作特性及工作原理,给出利用MC74设计的无线数字温度传感器电路的原理及部分程序代码。
The main characteristic and operating principle of MC74 are introduced, the wireless digital temperature sensor circuits and some of programs based on MC74 are given.
下面的代码示例演示如何利用连接获取元数据工作区,然后使用该元数据工作区浏览元数据类型层次结构。
The following code sample demonstrates how to get a metadata workspace from the connection and then use that metadata workspace to browse the metadata type hierarchy.
本代码包括CPU利用率检测组件与该组件的使用例程。
The code includes the CPU utilization test components and the use of routine component.
利用该方式,用户不必担心对象会被提前释放,也不必实现任何多余的代码,只需调用API托管对象即可。
By utilizing the mode, the users only need to call the API to manage the object without worrying about that the object is released in advance or realizing any unnecessary code.
利用该方式,用户不必担心对象会被提前释放,也不必实现任何多余的代码,只需调用API托管对象即可。
By utilizing the mode, the users only need to call the API to manage the object without worrying about that the object is released in advance or realizing any unnecessary code.
应用推荐