欢迎来到天天文库
浏览记录
ID:49108682
大小:212.46 KB
页数:4页
时间:2020-02-28
《QC 缺陷链接.docx》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、QC缺陷链接关系潘勤异2011-9-20QC的缺陷链接涉及比较多,摘录QC的联机帮助如下:AboutLinkingDefectsYoucanlinkadefecttothefollowingentities:requirements,tests,testsets,testinstances,runs,runsteps,andotherdefects.Defectlinkageisuseful,forexample,whenanewtestiscreatedspecificallyforadefect.Bycreati
2、ngthislinkage,youcandetermineifthetestshouldberunbasedonthestatusofthedefect.Adefectcanbelinkeddirectlyorindirectlytoanentity.Whenyouaddadefectlinktoanentity,QualityCenteraddsadirectlinktothisentityandindirectlinkstootherrelatedentities.Inaddition,duringamanual
3、testrun,ifyouaddadefect,QualityCenterautomaticallycreatesalinkagebetweenthetestrunandthenewdefect.Thefollowingdiagramillustratestheflowofindirectlinkage:Forexample,whenyoulinkadefecttoarunstep,QualityCenteraddsanindirectlinktoitsrun,testinstance,testset,andtest
4、.Ifthesametestiscoveredbyarequirement,anindirectlinkisalsoaddedtotherequirement.Notethattheindirectlinkageisaone-directionalflow.Forexample,ifyoulinkadefecttoarunitisnotindirectlylinkedtoitsrunsteps.项目中的使用结合咱们的项目,如下图所示:测试实验室与缺陷的关联关系。想把测试集合与缺陷进行直接链接,则点击测试集合名,然后在
5、右侧点击‘链接的缺陷’,再点击‘链接现有的缺陷’,然后在弹出窗口中输入缺陷ID,则完成测试集合与缺陷的关联(直接链接)。我觉得咱们既要关注测试集合的链接缺陷,也同时需要关注测试用例关联的缺陷,因此,上述方法不适合咱们使用。咱们添加链接关系的方式如下:1.在测试实验室的测试网格中双击失败的测试用例2.在弹出窗口中,点击‘链接和范围’1.选择已有的缺陷(也可以新建),以链接已有的缺陷为例,点击‘链接现有缺陷’2.在弹出的需要链接的缺陷窗口中选择你想要链接的缺陷(可以过虑搜索)1.选择好缺陷,点击‘链接按钮’。这样,我们完
6、成了对这个用例的一个缺陷(直接链接),同时该缺陷对测试集合也产生了一个关联关系(间接链接)。For开放人员对于开发人员:如果想看本集合所有关联缺陷,则直接在测试集合上点击‘链接的缺陷’。如果想看每个用例对应的缺陷,则在‘执行网格’双击需要看的测试用例,在弹出的‘测试实例属性’窗口中,点击‘链接和范围’,查看本用例关联的具体缺陷。
此文档下载收益归作者所有