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)的所有属性。
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.
您可以通过对象的属性值来找到一个测试对象,这些属性值可能是一个简单的文本。
The appobjects folder contains GUI objects obtained by the test object map feature.
appobjects 文件包含了测试对象映射特性获取的GUI对象。
To make things simple, we suppose that the Place Order button is the test object to find.
为了让事情变得更加简单,我们假设PlaceOrder按钮就是要找的测试对象。
The order of the objects in the object browser is different from those in the test object map.
对象浏览器中的对象的顺序,与测试对象映射中的顺序不同。
If the application has changed permanently, update the test object map to reflect the change.
如果应用发生了永久性的变更,需要更新测试映射来反映这一变化。
We also can use the find() method to find the test object with some given attribute/value pairs.
我们还可以使用find()方法来找到匹配属性/值的测试对象。
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测试对象模型。
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来自动定位带有给定路径的目标测试对象。
You might be advised to use the find() method to get a test object when the getMappedTestObject() method does not work.
建议您在getMappedTestObject()方法不能使用时,使用find() 方法来找到一个测试对象。
When you record a script, Rational Functional Tester automatically creates a test object map for the application-under-test.
当您记录脚本的时候,RationalFunctionalTester会自动为被测的应用程序创建测试对象地图。
If the property value matches the search value, then the method has successfully found the desired test object and returns it.
如果属性值与搜索值匹配,那么该方法就成功地找到预期的测试对象,并返回该对象。
As you can see, it is pretty easy to get the properties of a test object when you know the name of the property you are looking for.
正如您看到的,当知道所需要属性的名称时,您可以很容易的获得测试对象的属性。
Here the bean provides a test object with bean-like get and set methods, which are used by the BeanTest program to access the values.
这里bean提供了具有类似bean的get和set方法的测试对象,BeanTest程序用这些方法来访问值。
The fifth activity in this phase, Specifying the review of the test object and infrastructure, can be mapped to RUP's Validate Build Stability.
在此阶段中的第五个活动,说明测试对象和基础结构的复审,可以被映射到RUP的确认构建稳定性中。
When you change some values of the resource file, and then restart Rational Functional Tester, you can see changed values in the test object map.
当您更改资源文件的一些值时,然后重启RationalFunctionalTester,在测试对象图中您可以看到更改的值。
Open the test object map, and then change the property values that are GUI display values to key names of the resource file, as shown in Figure 14.
打开测试对象图,然后将作为GUI显示值的属性值更改为资源文件的密钥名字,如图14所示。
And sometimes, it is difficult to find a recognizable ancestor of the test object, so the search has to begin from the top-level object, such as a window.
有时,甚至很难找到测试对象可识别的父类,所以搜索必须从最顶层开始,例如从窗口开始。
This method searches within the given parent test object, usually a browser page, for an object of a specified class, for example, Link, TextField, Listbox, and so on.
该方法在给定父测试对象(通常是浏览器页面)内搜索指定类的对象,例如,Link、TextField、Listbox等。
应用推荐