软件测试


网站首页 | 软件测试论坛 | 软件测试培训 | 软件测试博客 | 软件测试杂志 | 软件测试沙龙 | 软件测试下载 | 软件测试顾问
业界新闻 | 软件测试人才 | 软件测试技术 | 软件测试工具 | 行业软件测试 | 软件测试管理 | 软件质量专栏 | 软件开发专栏
当前位置:首页>>软件测试管理>>缺陷管理>>正文
ClearQuest技巧集(二)
文章出处:转载 作者:不详 发布时间:2006-03-27

问题六:在Clearquest Designer里设置Field时那些Type都代表什么意思?比如,Type里的REFERENCE,REFERENCE_LIST都是什么类型,设置成这个类型后,会出现什么结果?您能给我详细说一下吗?

解答提示:在ClearQuest Designer Help中的Selecting a field data type中有相应的说明。

ClearQuest supports the following field data types:  

Data    Description/Comments

ATTACHMENT_LIST    Allows records to store files related to the record.

DATE_TIME    SQL date and time.

INT  SQL integer.

MULTILINE_STRING  A variable-length string of unlimited size.

REFERENCE    A reference to a unique key in a record type.For REFERENCE type fields, you must select a state-based or stateless record type to refer to. You can also enter an optional back-reference field to create a link from the referenced record back to this field's record and can specify that the referenced record type is under security control.

REFERENCE_LIST     Multiple references to unique keys in record types. Reference-list fields allow you to reference multiple records within a field. You can use reference-list fields with a parent/child control to link related records.For REFERENCE_LIST type fields, you must select a state-based or stateless record type to refer to. You can also enter an optional back-reference field to create a link from the referenced record back to this field's record.Note: You cannot use the REFERENCE_LIST type when creating a report. Multiple record references within a field will return a report error.

SHORT_STRING  A variable-length character string with a 254-character maximum. You set the length in the Properties dialog box when defining the field. Enter a value between 1 and 254 in the Maximum Length field.

DBID    Reserved for system fields

ID    Reserved for system fields

JOURNAL    Reserved for system fields

STATE    Reserved for system fields

Note:  You cannot modify the data type or the DB Column Name of a field after you check in the schema. To change the data type, delete the existing field and create a new field with the data type you want.

我感觉,REFERENCE和REFERENCE_LIST都是一种对象类型,也就是说,他并不指代某种具体的概念,比如int或string等,而是一种集合,使用的时候,可以取集合的某个属性内容。比如在例子中有Owner字段就对应Users集合。

选择REFERENCE就会出现reference to,其中对应的就是左侧树中Record Types和Record Types -Stateless下面的各种类型,比如最常用的Defect就是一个集合,你建立的字段可以指向这个集合。 这些是我自己的一些看法,不一定正确,因为我没有用过,

问题七:在设置Action时,可不可以源状态和目的状态是同一个的状态?即:虽然作了那个动作,但是不改变他的状态!

解答:从CQ的操作来看,是不支持源状态和目标状态一致的,因为没有这个必要(修改除外,修改的时候,状态不改变)。在建立Action时,Action的属性中,可以设定源状态和目标状态,在源状态选定的时候,就无法选择相同的目标状态了。Rational的CQ主要是变更管理,一个通过Action流转State的过程,自建Action的Type为Modify并无多大的意义。

问题八:怎样实现输入project和subsystem后就让他自动定位到某个人,也就是通过输入那个人所属的那个项目和模块,就能够自动定位到某人!

解答提示:可以使用代码控制,但是只对客户端有效,对于Web端仍然必须手工选择人员。

使用case,把字段内容添入里面就可以了。如果是两个字段控制一个,可以使用If。比如:

    if  project="工程1" then

       a=GetFieldValue(subsystem).GetValue  ‘取subsystem的内容

        Select case a '判断subsystem的取值
      
        case "subsystem1"

        SetFieldValue people,"tester1"   '填写subsystem1对应的人员内容

        case "subsystem2"

        SetFieldValue people,"tester2"   '填写subsystem2对应的人员内容
    
        …………

        case "subsystemn"

        SetFieldValue people,"testern"   '填写subsystemn对应的人员内容

        End Select

    End if

    if  project="工程2" then

      Select case b

      …………

     End Select

   End if

   …………

问题九:如何使用邮件规则(E-mail rule)?

解答提示:邮件规则的设置,不是在Designer中,而是在客户端。在客户端中,选择菜单中View->E-mail Options设置邮件服务器;Actions->New->Email_Rule设置在什么条件下把缺陷发给什么人。具体的设置,自己查看帮助。

Designer中的Email rule,是设置客户端中的显示界面内容的,可以根据需要修改。但是一般我觉得不用管这里,因为通常情况下都是测试人员建立邮件规则,开发人员通常看不到邮件规则的界面。而且建立好后,一般就不做改动了,所以是否好看、是否有冗余字段等都可以不在考虑的范围之内。

问题十:在clearquest designer中改了提交界面和处理界面后,在clearquest client中提交bug时,界面怎么没有变化

解答:Designer设计后,没有变化,那是因为你没有Update数据库。在Designer中设计完成后,点击菜单中的File->Check In保存修改,再选择菜单中的Database->Upgrade Database,在里面选择你修改完毕的数据库,一般会有新的版本,upgrade新版本就可以了。

ClearQuest技巧集(一)


站内搜索
相关文章
◎ClearQuest技巧集(一)
◎Bug管理的一般流程
◎缺陷、安全管理二位一体
◎软件缺陷的分类与管理
◎试论软件缺陷内部数据库的重要性
◎软件错误跟踪处理流程
◎ClearQuest体系结构分析
◎测试跟踪工具Bugzilla介绍
◎选择JIRA的10大理由
◎JIRA 系统安装与使用
◎软件问题报告怎么写
◎Bugzilla使用指南
◎软件缺陷的严重性和优先级
◎微软高级开发者管理峰会演讲摘要:产品质量的基石——微软Bug管理
◎软件缺陷管理
◎报告软件测试错误的规范
◎编写有效的bug report
热门文章
◎JIRA 系统安装与使用
◎测试跟踪工具Bugzilla介绍
◎Bugzilla使用指南
◎Bug管理的一般流程
◎选择JIRA的10大理由
◎目前比较流行的缺陷跟踪系统简介
◎软件缺陷管理
◎编写有效的bug report
◎测试缺陷分析务实篇
◎软件问题报告怎么写
◎BugZilla 安装心得,以及与Mantis的比较
◎软件缺陷的分类与管理
◎软件错误跟踪处理流程
◎软件测试缺陷报告中的屏幕截图处理
◎软件缺陷的严重性和优先级
◎报告软件测试错误的规范
◎ClearQuest体系结构分析
◎Bug跟踪管理工具JIRA 3.6.1 发布
◎Bug追踪过程中需要注意的问题
◎ClearQuest技巧集(一)
◎Bugzilla在Window2000上安装–2.18版本
◎微软高级开发者管理峰会演讲摘要:产品质量的基石——微软Bug管理
◎所有的bug都修正了,下面该作什么?
◎测试报告编写指南
◎开发和测试的两大难题:Regression Bug和Late Discovery&nbs...
◎Bug追踪过程中需要注意的问题
◎试论软件缺陷内部数据库的重要性
◎测试跟踪工具Bugzilla介绍
◎如何编写更佳的bug report
◎缺陷、安全管理二位一体
◎利用bugzilla提交Bug写作指南
◎准确报告软件缺陷
◎为bug预防奠定基础
◎偶然性不可重现BUG怎么处理?

Google提供的广告