1、 QC 缺陷链接关系潘勤异2011-9-20QC 的缺陷链接涉及比较多,摘录 QC 的联机帮助如下:About Linking Defects You can link a defect to the following entities: requirements, tests, test sets, test instances, runs, run steps, and other defects. Defect linkage is useful, for example, when a new test is created specifically for a defect. By
2、 creating this linkage, you can determine if the test should be run based on the status of the defect. A defect can be linked directly or indirectly to an entity. When you add a defect link to an entity, Quality Center adds a direct link to this entity and indirect links to other related entities. I
3、n addition, during a manual test run, if you add a defect, Quality Center automatically creates a linkage between the test run and the new defect. The following diagram illustrates the flow of indirect linkage:For example, when you link a defect to a run step, Quality Center adds an indirect link to
4、 its run, test instance, test set, and test. If the same test is covered by a requirement, an indirect link is also added to the requirement. Note that the indirect linkage is a one-directional flow. For example, if you link a defect to a run it is not indirectly linked to its run steps. 项目中的使用结合咱们的
5、项目,如下图所示:测试实验室与缺陷的关联关系。想把测试集合与缺陷进行直接链接,则点击测试集合名,然后在右侧点击链接的缺陷 ,再点击链接现有的缺陷 ,然后在弹出窗口中输入缺陷 ID,则完成测试集合与缺陷的关联(直接链接) 。我觉得咱们既要关注测试集合的链接缺陷,也同时需要关注测试用例关联的缺陷,因此,上述方法不适合咱们使用。咱们添加链接关系的方式如下:1. 在测试实验室的测试网格中双击失败的测试用例2. 在弹出窗口中,点击链接和范围3. 选择已有的缺陷(也可以新建) ,以链接已有的缺陷为例,点击链接现有缺陷4. 在弹出的需要链接的缺陷窗口中选择你想要链接的缺陷(可以过虑搜索)5. 选择好缺陷,点击链接按钮。这样,我们完成了对这个用例的一个缺陷(直接链接),同时该缺陷对测试集合也产生了一个关联关系(间接链接)。For 开放人员 对于开发人员:如果想看本集合所有关联缺陷,则直接在测试集合上点击链接的缺陷。如果想看每个用例对应的缺陷,则在执行网格双击需要看的测试用例,在弹出的测试实例属性窗口中,点击链接和范围,查看本用例关联的具体缺陷。