Tips for better test object recognition.
更好测试对象识别的建议。
Create a test project and a test object map.
创建一个测试项目以及测试对象映射。
Creating a test project and a test object map.
创建一个测试项目以及测试项目映射。
This will reduce the recognition of the test object.
这就会降低测试对象的可识别性。
We can use the default method to find the test object.
我们可以使用默认的方法来找到测试对象。
We have already seen how to find a test object in variant ways.
我们已经看到了,怎样以各种方法来找到一个测试对象。
This method prints all of the properties of a test object (TestObject).
这种方法打印出测试对象(TestObject)的所有属性。
And we can locate the test object with a given anchor object and a path.
而且我们可以定位带有给定对象及路径的测试对象。
Then we use ObjectFinder class to locate the target test object we want.
然后我们使用objectfinder类来定位我们想要的目标测试对象。
The second conditional element checks the id property of the Test object.
第二个条件元素检查Test对象的id属性。
The result of searching a candidate test object is predictable, thus robust.
搜索候选测试对象的结果是可预测的,因此也是可靠的。
You can find a test object by its property values, which may be simple text.
您可以通过对象的属性值来找到一个测试对象,这些属性值可能是一个简单的文本。
When mapped, this applet produces only a single test object, as shown in Figure 4.
在映射过程中,这些applet仅仅产生一个单独的测试对象,如图4所示。
If recognition scores indicate that matches are weak, examine your test object map.
如果识别评分判断对应的匹配条件很弱的话,请检查测试对象映射。
The appobjects folder contains GUI objects obtained by the test object map feature.
appobjects 文件包含了测试对象映射特性获取的GUI对象。
You can set a maximum score to consider a test object as a candidate for recognition.
您可以设置一个最高分来认定一个测试对象可以作为识别的后续对象。
To make things simple, we suppose that the Place Order button is the test object to find.
为了让事情变得更加简单,我们假设PlaceOrder按钮就是要找的测试对象。
In this article, we introduce a navigation path-based method to find the target test object.
在本文中,我们介绍了基于路径导航方法,来找到目标测试对象。
You can change the label of the text object, by selecting the link Update the test object map.
通过选择超链接更新测试对象映射,您可以改变文本对象的标签。
The order of the objects in the object browser is different from those in the test object map.
对象浏览器中的对象的顺序,与测试对象映射中的顺序不同。
We also can use the find() method to find the test object with some given attribute/value pairs.
我们还可以使用find()方法来找到匹配属性/值的测试对象。
If the application has changed permanently, update the test object map to reflect the change.
如果应用发生了永久性的变更,需要更新测试映射来反映这一变化。
In an internationalization situation, change the label of the test object, not its accessible name.
在国际化(I11N)的情形下,改变测试对象的标签,而不是改变其访问名称。
This method accepts four arguments: a property, a property value, a class, and a parent test object.
该方法接受4个参数:属性、属性值、类和父测试对象。
Specifically, my work focuses on coded web tests, the browser recorder, and the web test object model.
具体的说,我的工作主要关注于生成代码的web测试,浏览器记录器和web测试对象模型。
You can create a new test object map by either basing it on an existing map or adding objects as required.
您可以通过依据现有的地图或按照需要添加对象来创建新的测试对象地图。
According to the test object Browser, you we can see many objects that are missing in the test object map.
根据Test ObjectBrowser,您可以在测试对象映射中看到许多的对象。
Therefore, if the test object does not have such a set of properties, the method will not function correctly.
因此,如果测试对象没有这样一系列的属性,那么这种方法就不会正常地发挥其功能。
The recognition TAB displays recognition data used by Functional Tester to locate and manage the test object.
识别标签显示了FunctionalTester用来定位和管理测试对象的识别数据。
In this section, you'll learn how to use APIs to automatically locate the target test object with a given path.
在本部分中,您将会学到怎样使用API来自动定位带有给定路径的目标测试对象。
应用推荐