QTP怎么添加整个页面的对象

上一篇 / 下一篇  2011-10-17 18:12:35 / 个人分类:qtp学习

打开Object Repository->Add Object
 
指定了某个对象后,比如Browser:51Testing
                 Page: Login                   
                   image: image1
选择page或Browser,然后弹出Define Object Filter窗口。

You can choose from the following options:

  • Selected object only (no descendants).Adds to the object repository the previously selected object's properties and values, without its descendant objects.
  • Default object types.Adds to the object repository the previously selected object's properties and values, with the properties and values of its descendant objects according to the object types specified by the default filter. You can see which objects are in the default filter by selectingSelected object types, clicking theSelectbutton, and then clicking theDefaultbutton.
  • All object types.Adds to the object repository the previously selected object's properties and values, together with the properties and values of all of its descendant objects.
  • Selected object types.Adds to the object repository the previously selected object's properties and values, as well as the properties and values of its descendant objects according to the object types and classes you specify in the object filter. You specify the objects and classes in the filter by clicking theSelectbutton and selecting the required items in the Select Object Types dialog box. For more information on the Select Object Types dialog box,

Selected object only (no descendants):将当前选择对象(不包含子对象)的属性和值添加到对象仓库Object repository中。

Default object types:将当前选择对象的属性和值添加到对象仓库中,并根据过滤器(default filter)指定默认对象的属性和值添加到对象仓库中。若单击"Select"按钮,在弹出的选择对象类型("Select Object Types")对话框中,单击"Default"按钮,可见当前默认过滤器(default filter)指定的默认对象,如图3.41所示。

 

All object types:将当前选择对象和其子对象的所有属性和值添加到对象仓库中。

Selected object types:将当前选择对象的属性和值添加到对象仓库中,并将过滤器指定的默认对象类型属性和值添加到对象仓库中。若单击"Select"按钮,在弹出的选择对象类型("Select Object Types")对话框中,可以将支持的类型或者类添加到对象仓库中。


TAG:

 

评分:0

我来说两句

日历

« 2024-04-30  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 18479
  • 日志数: 42
  • 建立时间: 2011-03-23
  • 更新时间: 2012-03-13

RSS订阅

Open Toolbar