• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

软件测试工具之QTP中的Test Object Model

发布: 2009-9-17 13:11 | 作者: 不详 | 来源: 领测软件测试网 | 查看: 101次 | 进入软件测试论坛讨论

领测软件测试网 软件测试工具之QTP中的Test Object Model  软件测试工具

About Understanding the Test Object Model

  关于了解测试对象模型

  QuickTest tests your dynamically changing application by learning and identifying test objects and their expected properties and values. During recording QuickTest analyzes each object in your application much the same way that a person would look at a photograph and remember its details.

  QuickTest 通过记住和标识测试对象及其预期的属性和属性值,对动态更改的应用程序进行测试。在录制期间,QuickTest 对应用程序中每个对象进行分析的方式与一个人看一张图片然后记住其细节的方式大致相同。

  In the following narrative you will be introduced to the concepts related to the test object model and how QuickTest uses the information it gathers to test your application.

  在以下叙述中,将向您介绍与测试模型相关的概念,以及 QuickTest 如何使用它所收集的信息来测试应用程序。

  1、Understanding How QuickTest Learns Objects While Recording

  了解 QuickTest 如何在录制时记住对象

  QuickTest learns objects just as you would.

  QuickTest 像您那样记住对象。

  For example, suppose as part of an experiment, Jonny is told that he will be shown a photograph of a picnic scene for a few seconds during which someone will point out one item in the picture. Jonny is told that he will be expected to identify that item again in identical or similar pictures one week from today.

  例如,假定作为实验的一部分,Jonny 被通知将向他展示一张野餐场景的图片,时间为几秒钟,在此期间,将会有人指出图片中的一个项目。自今天起一周后,Jonny 需要在相同或相似的图片中再次识别出该项目。

  Before he is shown the photograph, Jonny begins preparing himself for the test by thinking about which characteristics he wants to learn about the item that the tester indicates. Obviously, he will automatically note whether it is a person, inanimate object, animal, or plant. Then, if it is a person, he will try to commit to memory the gender, skin color, and age. If it is an animal, he will try to remember the type of animal, its color, and so forth.

  在看到图片之前,Jonny 自己开始为测试做准备,考虑对于测试者指出的项目,需要记住该项目的哪些特征。显然,他将自动记住该项目是人、无生命物体、动物还是植物。如果是人,他将尝试记住其性别、肤色和年龄。如果是动物,他将尝试记住其类型、颜色等。

  The tester shows the scene to Jonny and points out one of three children sitting on a picnic blanket. Jonny notes that it is a caucasian girl about 8 years old. In looking at the rest of the picture, however, he realizes that one of the other children in the picture could also fit that description. In addition to learning his planned list of characteristics, he also notes that the girl he is supposed to identify has long, brown hair.

  测试者向 Jonny 展示场景,并从三个坐在野餐毯上的孩子中指定一个。Jonny 注意到这是一个 8 岁左右的白种女孩。但在查看图片中的其他内容时,他意识到图片中的另一个孩子也符合这种描述。除了记住计划的特征列表以外,Jonny 还记下自己应该识别出的这个女孩留着褐色的长发。

 

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/

TAG: model object Object qtp QTP test Test TEST 软件测试 Model

21/212>

关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网