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

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

Rules for Object Recognition

发布: 2011-4-07 09:26 | 作者: 不详 | 来源: 领测软件测试网采编 | 查看: 11次 | 进入软件测试论坛讨论

领测软件测试网

  Rules for Object Recognition  软件测试

  come from http://tips-testing.blogspot.com/search/label/silktest

  Object Recognition is very important thing in any GUI testing tool. Silktest also having set of formats and limitations to identify the objects.

  MicroFocus/Borland used to publish "Rules for Object Recognition" document for each silktest release. It is available at techpubs-Rules for Object Recognition

  Rules for Object Recognition

  Caption - Restricted to 127 characters

  WindowID - Restricted to 63 characters

  Closest Static Text or Attached Text

  4Test Produces – Window Declaration Identifier, Single Tag or Multitag

  Agent Produces – Index, Prior Text, Location

  Extension Produces – WindowID, Caption

  We can manage the automation suite properly for minor application changes by making proper tags. I have given few tips to control the UI changes in the application.

  Window declarations Level

  1. Object caption change. Use multiple tags

  2. Object level change. Assume that UserName text field is under a HtmlTable. Now you set a window variable to have same object level.

  3. Same set of objects are in multiple pages. Create a class.

  4. Use Variables for page title changes.

  Functions Level

  1. Navigations. For example, clicking a link, clicking a button.

  2. Micro functions. Split to small functions as you have to change in only one place.

  3. Use some wrapper functions for all classes. For example, an object is a htmlcheckbox and now it is changed to radio button.

延伸阅读

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


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

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