Quality Center 9.0使用手册
quality center用户使用指南

一、QC操作步骤(该文档只有management和requirement两部分)(一)Management1、建立版本集:进入Management(管理)页面,建立release floder(版本集),具体操作为:点击文件夹按钮,填写版本名,点击确定。
2、建立版本:点击版本按钮,填写版本名,点击确定。
在右侧的详细页面(Details)中添加该版本的信息,包括开始时间与结束时间在右侧的附件页面(Attachments)中添加该版本的附件在右侧的进程页面(progress)中查看相关进程。
在右侧的质量页面(Quality)中查看该版本涉及到的BUG。
3、在版本下建立流程:点击流程,填写流程名,点击确定。
(二)Requirements4、建立需求集(floder):在Requirements页面中点击文件夹按钮,填写文件夹名称,点击确定。
5、建立需求点:在需求集下,建立需求点。
点击需求点按钮,填写需求名以及相关执行优先级,属于某版本等条件,点击确定。
注意:如增加子集需求点,则选择该结点,新增需求点;如需增加同级节点,则需要点击上级结点,新增需求。
在需求页面中,选择需求点的类型为正在进行的用例(Testing)在需求详细页面中,完善需求的详细信息。
主要填写内容:Target Cycle、Priority。
需求建立完成以后,可以选择需要转为测试用例的需求点,右击鼠标,选择Covert to test,在打开的页面中选择合适的方式,点击下一步生成用例。
(三)test plan6、建立测试用例包:在Test Plan页面中点击文件夹按钮,填写文件夹名称,点击确定。
7、建立测试用例:在测试用例包下建立测试用例,点击建立测试用例按钮,填写测试用例相关属性。
8、建立该测试用例的相关步骤(step)9、建立用例覆盖(Req Coverage)(四)Test lab10、建立测试计划架构:在Test Plan页面中点击文件夹按钮,填写文件夹名称,点击确定。
Quality_Center使用指南

BUG严重程度划分:
4—建议 此优先级别的Bug,如果不进行修改,不影响主要功能,属于页面 美观和易用性的问题,页面上的文字错误或者需要改进的建议,包括以 下各种错误: 界面不规范 辅助说明描述不清楚 输入输出不规范 长操作未给用户提示 提示窗口文字未采用行业术语 可输入区域和只读区域没有明显的区分标志 处理原则:原则上处理周期控制在BUG发布后的三天内;
流程描述
• 其他阶段发现的BUG,由发现人将BUG录入QC。 • BUG提交后状态默认为“新建”,由技术经理判 断是否是BUG,如果不是则将BUG状态改为“已否 决”,如果是BUG则将状态修改为“打开”,并 指定解决人、优先级等; • BUG修复后,解决人将BUG状态改为“已修复”; • 由提交人验证、确定该BUG已解决时修改BUG状态 为“关闭”,若未解决则改为“重新打开”。
BUG严重程度划分:
2—严重 此优先级别的Bug,如果不进行修改,会影响到其他主要功能的使用;次要 功能未实现,优先级别较高,包括以下各种错误: 程序错误 程序接口错误 数据库的表、业务规则、缺省值未加完整性等约束条件 处理原则:原则上处理周期控制在BUG发布后的一天内;
3—一般 此优先级别的Bug,如果不进行修改,说明系统定义的次要功能没有实现有 错误,优先级别一般,包括以下各种错误: 操作界面错误(包括数据窗口内列名定义、含义是否一致) 打印内容、格式错误 简单的输入限制未放在前台进行控制 删除操作未给出提示 数据库表中有过多的空字段 处理原则:原则上处理周期控制在BUG发布后的两天内;
2、解决人处理指派给自己的状态为“打开”或“重新打开”的BUG后, 将状态置于“已修复”,并跟踪该bug回测情况,如果项目经理或者测 试人员回测后,确认该问题已解决,则会将改为状态改为“已关闭”, 如果回测时发现该问题仍然存在,则会重新打开该问题,状态为“重新 打开”,需要继续修改.
qualitycenter使用指南

查看测试结果
总结词
查看和分析测试结果,以便评估产品质量和改进测试过程。
详细描述
在QualityCenter中,可以查看和分析测试结果。通过分析测试结果,可以评估产品的 质量水平,发现潜在的问题和缺陷,并提供改进建议和反馈,以优化和改进未来的测试
过程。
03
QualityCenter高级特性
创建需求管理链接
首先检查测试用例状态,确保测试用例处于 可执行状态。其次,检查测试用例的执行条 件是否满足,如数据准备、前置条件等。最 后,检查测试用例的依赖项是否已正确配置, 如依赖的测试数据、外部服务等。
缺陷无法跟踪
总结词
可能由于缺陷状态管理不当、关联关系未建立或缺陷优先级设置不准确等原因导致缺陷 无法跟踪。
QualityCenter简介
QualityCenter的定义
QualityCenter是一个基于Web的测 试管理工具,用于组织、计划、执行 和跟踪软件测试活动。
它提供了一个集中的平台,使测试人 员、开发人员和项目经理能够协同工 作,确保软件质量。
QualityCenter的用途
测试需求管理
收集、整理和组织测试需求,确保测试工作 与业务需求一致。
在创建测试套件后,需要将具体的测试用 例添加到测试套件中。每个测试用例应详 细描述测试目标、输入数据、执行步骤和 预期结果等,以便执行和跟踪测试结果。
执行测试
总结词
按照测试计划执行测试用例,并记录测试结 果。
详细描述
在QualityCenter中,可以按照测试计划执 行测试用例。执行过程中,应记录测试结果, 包括通过、失败或跳过等状态,以及任何相 关的错误信息或问题。
持续集成工具如Jenkins、Hudson 等可以与QualityCenter集成,实现 自动化构建、部署和测试。
Quality Center 9.0简体中文版部署

Quality Center 9.0简体中文版部署/cgi-bin/blognew/simpleqzone_blog_data?hostuin=4646845&r=0&idm=qzs. &bdm=&mdm=&blogid=1269873302&numperpage=15Quality Center 9 破解许可文件注:1、破解仅是自己尝试,不能确定一定有效,所以如果试用后无效请勿对本人进行人身攻击。
2、破解只是提供License文件(txt),理论上不会对试用者产生任何损失,除非QC9自身能够对非授权用户产生破坏。
所以由此引起的任何问题均与本人无关。
3、本人非测试专业,也没有天天围着QC转,所以与之相关的安装过程中的各类问题本人均无能力作出正确的回答,请自行在网上检索解决方法。
创建文本文件,将下列内容贴入,在安装时选择文件,或在安装后在sabin后台粘贴<?xml version="1.0" encoding="UTF-8"?><license><terms><issued_to></issued_to><license_identifier>SN732563653</license_identifier><edition>enterprise</edition><evaluation>N</evaluation><start_date>12/13/2007</start_date><expiration>5/29/2099</expiration><full_test_director>500</full_test_director><additional_defects>500</additional_defects><tolerance>0%</tolerance><requirements>Y</requirements><advanced_reports>Y</advanced_reports><business_process_testing>500</business_process_testing><version_control>Y</version_control><dashboard>Y</dashboard></terms><Signature>lA0FAVrF+UTDW2qVIDjVPCSpPKRUpKcoTO8/GI95D1RLIzQAq/8mv+HnIG Q0Grv9am8QKHfncRsARR153QxqKw==</Signature></license> ------------------------------------分割线---------------------------------------------- 贴几张安装完的截图我以前安装的记录用了我2天终于搞定了,从TD7.6装到TD8再到QC9……最后用了JBOSS+2003SERVER R2+SQL SERVER 2005才搞定。
Quality Center 9.0安装步骤

Quality Center安装步骤Quality Center安装步骤Quality Center安装步骤◆安装条件:Quality Center:QC9中文版数据库:Oracle10 g操作系统:Windows XP◆安装步骤:1、点击setup.exe,出现如下界面,点击“下一步”2、接受许可条款,然后按“下一步”3、导入QC9.0的破解lincese文件,点击“下一步”说明,license文件如下,把下面的红色字体内容粘贴在文本文件中,然后后缀名改为lincense.txt即可(文件名自己任意命名)<?xml version="1.0" encoding="UTF-8"?><license><terms><issued_to></issued_to><license_identifier>SN732563653</license_identifier><edition>enterprise</edition><evaluation>N</evaluation><start_date>12/13/2007</start_date><expiration>5/29/2099</expiration><full_test_director>500</full_test_director><additional_defects>500</additional_defects><tolerance>0%</tolerance><requirements>Y</requirements><advanced_reports>Y</advanced_reports><business_process_testing>500</business_process_testing><version_control>Y</version_control><dashboard>Y</dashboard></terms><Signature>lA0FAVrF+UTDW2qVIDjVPCSpPKRUpKcoTO8/GI95D1RLIzQAq/8 mv+HnIGQ0Grv9am8QKHfncRsARR153QxqKw==</Signature></license>4、群集配置,选“第一个节点/独立”,单击“下一步”5、选择安装路径,单击“下一步”6、出现如下界面,选择“显示Jboss高级选项”,单击“下一步”7、配置Jboss端口和内存大小,默认是8080,安装之前用netstat –na –p tcp –o 在命令提示符下扫描一下8080端口是否已经被占用,我记得Tomcat的默认端口也是8080的,为了不出错误,也可以换一个端口,然后“下一步”8、出现如下界面,用户名为操作系统登陆用户名,密码为登陆密码,域可以查看我的电脑—属性—计算机名查看,如果没有域,则为“完整的计算机名”(如果没有填写域安装将会不成功),确保登陆的用户名是超级权限的管理员用户9、选择集成的web服务器,在这里选自带的Jboss服务器,单击“下一步”10、出现如下界面,选择第二项,然后单击“一步”11、有SMTP服务器就填,没有就选无,然后“下一步”12、选择数据库类型,选“oracle”,然后“下一步”13、数据库服务器配置,需要说明的是,装oracle和装sqlserver数据库不一样,这里的“服务器名称”指的是你的oracle的服务器的IP地址,而不是像在sqlserver 中指的是数据库的实例名;我的oracle是装在本机上,所以我填入的是localhost,如果你的oracle是装在其他服务器上,填写正确的IP地址即可;“数据库管理员用户名”用system这个管理员用户名,密码就是你在数据库里面设置的,然后选中“显示高级选项”,单击“下一步”14、站点管理员数据库构架名称:可以自己命名,也可以选默认的数据库服务器端口:1521QC用户密码:自己设置(其默认的用户名是td,安装完后可以在后台查看)Oracle SID:Oracle的System ID15、选择表空间,表空间尽量的大点,如果你选择下面的表空间,空间不够的话,到时候是会安装失败的,TEST_DATA是我创建自动增长的表空间。
HP Quality Center用户手册说明书

Deliver enhanced business results through high-quality applicationsIn today’s digitally powered business landscape, applications are core to any business process and ultimately to every business outcome. Organizations cannot afford to deliver a poor-quality application as the costs to the business can be severe. To prevent this outcome, organizations must ensure that their applications function and perform at the levelsdemanded by the business. In addition, security has come forward as a critical aspect of application quality. Applications must be secure from the risk of exploitation by hackers. Functionality, performance, and security all drive quality processes and testing methods. And, the Quality Assurance (QA) teamneeds a modern, automated, and integrated platform to manage and control these critical aspects toachieve IT success in implementing applications that deliver for the business. HP Quality Center is that modern quality management platform.Too often organizations use standalone documents or a collection of disparate systems to keep track of their quality and testing efforts, including their testing assets. This can result in:• Increased risk of deploying a poor-quality application • A lack of consistent and repeatable processes • No single point of truth, clear priorities, or effective communication of vital information• Inefficient and redundant testing due to missing information• Inadequate visibility into project progress, and status • Many hours spent compiling reports that are immediately out of date• QA and development not working on what the business requiresTo help ensure the quality of an application byleveraging consistent, repeatable, and standardized processes, and to turn quality into a competitive advantage, thousands of organizations turn to HP Quality Center.HP Quality CenterDeliver high-quality applications at the speed of business with an integrated platform for requirements, test, and defect managementData sheetAbout HP Quality CenterHP Quality Center is the market-leading* quality management platform that scales from a single project to multiple, enterprise-wide projects and releases.It enables you to manage application quality witha consistent, repeatable process that reduces risk and costs, and increases efficiency across the entire application lifecycle.HP Quality Center delivers requirements management, release and cycle management, test management, defects management, and reporting, all within a single platform providing traceability and visibility across your entire process—delivering the information you need to make informed application release decisions. HP Quality Center is a Web-based solution that gives these often distributed teams access to a steel thread of critical project information. This information is the catalyst bridging the distributed teams in their related efforts to deliver high-quality applications that deliver business results—regardless of geographic and organizational boundaries, thereby facilitating communication and collaboration between business analysts, QA, and development teams.Key features and benefitsDefine and manage requirementsHP Quality Center provides a central repositoryfor defining, managing, and controlling software requirements so that the business needs are met.The HP Requirements Management module provides real-time visibility of requirements coverage and associated defects to evaluate quality and business risk. Multidimensional traceability is provided between requirements, source code, tests, and defects, across releases and test cycles, providing the confidence to make “go/no-go” decisions.HP Requirements Management allows for business process models to be imported and displayed, visually representing and communicating the defined business process flows. When requirements change, a change impact report provides visibility into the requirements and subsequent part of the business process affected, enabling you to avoid a full regression test aftereach change. Dispersed teams also receive prompt notification of any requirements changes that might impact the tasks they are working on.Align testing priorities based on risk Organizations typically do not have unlimited resources to fully test every requirement. HP Quality Center provides risk-based quality management to objectively assess and prioritize the highest-risk, highest-priority requirements. You can then fine-tune your testing effort based on quantifiable business risk. Accelerate manual testingHP Sprinter is the next generation of manual testing. Manual testing does not need to be tedious, error prone, or time consuming. HP Sprinter accelerates and revolutionizes the way manual tests are executed, automates data injection, and provides easy-to-use, built-in tools (such as screen capture and annotation, screen recorder, and system information capture) to exactly communicate results and defects. In addition, HP Sprinter supports simultaneous testing of an application across multiple machines and environments without the need for additional testers with innovative mirror testing.* I DC report: “Worldwide Automated Software Quality 2009–2013 Forecast and 2008 Vendor Shares”HP Quality Center is the industry leader* for quality management software designed for the challenges of today’s modern application environments. HP Quality Center manages and governs your quality processes, arming you with the capabilities you need to deliver high-quality applications efficiently and effectively.2Define test plansBased on the requirements, your testers can build test plans and design tests using HP Quality Center, or import them from Microsoft® Word or Excel.HP Quality Center provides a repository for both manual and automated tests (through HP Functional Testing software), including the ability to leverageHP Business Process Testing software for collaborative test design. By maintaining all test planning information in a central repository, team members can easily reuse entire test plans or individual test cases across project components and even different releases. Monitor quality across releases and cyclesThe Release Management module helps you manage application releases and cycles more efficiently. You can track the progress of an application release against your plan to determine whether your release is on track, allowing informed, real-time budgetary and release decisions.Schedule and run testsYour testing team can use the Test Lab module to run scheduled tests unattended, overnight, or when the system is in least demand. HP Quality Center supports various types of testing—functional, regression, load, unit, and integration—each with its own set of requirements, schedules, and procedures. By defining dependencies among tests, you can realistically emulate real-life business processes and make it easier to maintain and reuse the tests.Track defectsAnalyzing defects and defect trends helps you make effective “go/no-go” decisions while reducing the risk to the business. The Defects Management module supports the entire defect lifecycle—from initial problem detection through fixing the defect and verifying the fix. Before any new defect is submitted, HP Quality Center checks the database for similar defects, reducing duplication and removing the need for manual checking.Developer CollaborationIt is important that requirements and defects are communicated to developers without them needingto learn and use a new, additional tool. HP Quality Center provides supported integrations into integrated development environments and source code change management systems for linking tasks, requirements, and defects. Using HP Quality Center, developer tasks and code changes are tracked against the requirements in order to track project progress and evaluate risk.Use versioning and baseliningBuilt into HP Quality Center, version control is provided for requirements, tests, test scripts, and business components. Versioning allows distributed teams to collaborate and manage multiple versions ofrequirements and test assets in parallel, while providingan audit history of changes throughout the projectlifecycle. Baselining allows you to capture a group ofrequirements, tests, or test assets at strategic pointsin the project lifecycle to mark specific milestones.You can compare baselines to assess the impact ofchanges and enable rollback of assets, if required. Report and graph your quality processHP Quality Center has an integrated Dashboardmodule to centralize quality reporting so you canmake real-time decisions based on application statusacross projects and QA initiatives. HP Quality Centerallows report templates to be created and customizedaccording to your organization’s needs. Reportswithin HP Quality Center are easily exported intoMicrosoft Excel, letting your end users perform endlessdata manipulation. The document generator withinHP Quality Center allows you to push requirements,tests, defects, and their associated data to a MicrosoftWord document tailored to your needs.Manage your agile development and testing efforts The HP Quality Center Agile Accelerator is acustomized HP Quality Center project designed tohelp manage Agile development and testing efforts.It delivers predefined workflows, configurations, andrules to manage Agile processes, along with prebuiltuser roles and privileges, and Agile reporting such asburn-up, burn-down, and cross-sprint velocity charts. HP Quality Center—a key element in HP Application Lifecycle Management HP Application Lifecycle Management software furtherenhances IT’s ability to manage the complete lifecycleof a software project, enterprise release, or programfrom inception to delivery, enabling organizationsto establish best practices and common processesor move fully to a model of Application Center ofExcellences. HP Application Lifecycle Managementsoftware expands the value of HP Quality Center withthe following additional capabilities:• Project planning and tracking to manage milestonesand associate key performance indicators (KPIs)• Cross-project asset sharing and reuse to remove duplication of effort• Cross-project reporting to provide aggregatedmetrics and trends, giving you a holistic view• Cross-project customization to enforce standardizedprocesses and best practices centrally• Cross-project defect sharing to increasedeveloper efficiency in finding, prioritizing, andresolving defects3Get connected/go/getconnectedAdditional HP Quality CentermodulesBridge the quality gap between subject matterexperts and quality engineersHP Business Process Testing brings business analystsinto the process of defining business use cases andprocess flows to increase the accuracy of tests,aligning testing more closely to business outcomes.Using HP Business Process testing to define tests basedon the defined business processes, the test engineeris able to create reusable test components using bothmanual and automated methods and share them withdistributed quality teams within HP Quality Center.Get change impact and service-oriented qualitymanagementThe HP Service Test Management module is acomplementary solution that lets your IT teamsautomatically create QA testing requirements and testassets for composite applications and service-orientedarchitecture (SOA) services, often referred to as sharedservices. HP Service Test Management supportschange impact testing for composite applicationsand SOA services and integrates seamlessly withHP Application Governance software to enablepolicy-driven governance based on testing results.The HP Change Impact Testing module for SAPapplications is an integrated set of software,services, and best practices for automating key SAPquality activities. This module lets you improve yourapplications by focusing your testing at the right time onthe SAP transactions and business processes that areimpacted by changes, so you can release applicationswith high quality and at a low level of risk.Standardize security as part of your testingprocessBring security testing earlier into the ApplicationLifecycle and find security risks and defects when theyare less costly to fix. HP QAInspect software allowsQA to incorporate fully automated Web applicationsecurity testing into the overall test managementprocess without the need for specialized securityknowledge and without the risk of slowing aggressiveproduct release schedules.About HP BTO Application SolutionsHP BTO Application Solutions help ensuremodernization initiatives deliver business outcomesinstead of failing under the burden of outdated,legacy delivery mechanisms. Where rival solutionsmistake the software development lifecycle for a totalpicture of the application, HP sees core delivery inthe context of the complete application lifecycle—from business idea through retirement. Furthermore,by providing unified management and automationsolutions, HP offers customers not simply more toolsand integrations but greater simplicity. The result forenterprise application teams is improved predictability,repeatability, quality, and change readiness in boththe core and complete lifecycles.© Copyright 2007–2008, 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services.Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissionscontained herein.Microsoft is a U.S. registered trademark of Microsoft Corporation.4AA1-2115ENW, Created May 2007; Updated August 2010, Rev. 2Share with colleagues。
Quality Center使用指南PPT课件

整体概况
+ 概况1
您的内容打在这里,或者通过复制您的文本后。
概况2
+ 您的内容打在这里,或者通过复制您的文本后。
概况3
+ 您的内容打在这里,或者通过复制您的文本后。
2
QC的下载安装
Win7系统环境下(这里强调Win7系统,不是此系统的用户可跳过, 直接看Step III )
Step I:关闭UAC (User Account Control)
QC测试人员使用篇(执 行测试用例) d).正确选择测试用例里的功能文件夹,点击“向左箭头”
QC测试人员使用篇(执 行测试用例) e).选择测试集,再点击“运行”功能图标,弹出,运行框
QC测试人员使用篇(执 行测试用例) f).再点击运行里的“运行”
g).执行测试用例步骤
QC测试人员使用篇(执 行测试用例)
下图:
QC测试人员使用篇(用 例和需求关联) c).选择对应的需求,在点击“向左的箭头”图标例) 4.执行测试用例
a).点开“测试实验室”并新建模块的文件夹(文件夹名称一致) b).点击“新建测试集”的功能图标,名称和用例的功能文件夹保持一
致
QC测试人员使用篇(执 行测试用例) c).创建成功后,点击“选择测试”后,右边出现测试用例的选择框
•
通过开始菜单搜索框,输入UAC,会出现Change User
Account Control菜单项。选择该菜单,弹出如下一个User
Account Control Settingde 对话框。通过滚动条选择
“Never notify”。然后重启机器。
QC的下载安装
Step II: 关闭DEP (Data Extension Prevention)
测试管理工具MercuryQualityCenter9.0使用说明书

测试管理工具Mercury Quality Center 9.0使用说明编制人:航编制日期:2010-03-01版本号:1.01目录1目录 (3)2概述 (4)3安装 (5)4站点管理 (6)4.1站点项目 (6)4.2站点用户 (10)4.3站点连接 (11)4.4数据库服务器 (12)4.5站点配置 (12)5登录页面 (13)6自定义设置 (14)6.1设置项目用户和权限组 (15)6.2添加自定义字段 (18)6.3添加查找列表 (20)7测试需求 (22)7.1测试需求简介 (22)7.2需求的建立 (22)7.3需求与用例的关联 (24)7.4需求与缺陷的关联 (25)7.5需求的覆盖 (27)8测试计划 (29)8.1测试计划简介 (29)8.2测试用例的建立 (29)8.2.1用例的建立和命名 (29)8.2.2详细信息 (30)8.2.3测试步骤 (31)8.3测试数据及参数化 (33)8.4与需求的关联 (35)8.5的缺陷 (36)9测试实验室 (37)9.1测试实验室简介 (37)9.2测试集的建立 (37)9.3测试集的运行 (38)9.4执行流 (42)10缺陷 (44)10.1Defects简介 (44)10.2缺陷的添加 (44)10.3缺陷的浏览和筛选 (46)11QC MSExcel Addin (47)12缺陷图表和文档生成 (51)12.1缺陷分析 (51)12.2文档生成552概述Quality Center是Mercury Interactive 公司推出的一个基于Web 且支持测试管理的所有必要方面的应用程序。
该软件提供统一、可重复的流程,用于收集需求、计划和安排测试、分析结果并管理缺陷和问题。
组织可使用该软件在较大的应用程序生命周期中实现特定质量流程和过程的数字化。
该软件还支持在IT 团队间进行高水平沟通和协调。
QC的主要功能:1.Quality Center 有助于维护测试的项目数据库,这个数据库涵盖了应用程序功能的各个方面。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Quality Center 9.0使用手册******编制日期:2011-03-03版本号:1.01目录1目录 (2)2概述 (4)3安装 (5)4站点管理 (6)4.1站点项目 (6)4.2站点用户 (10)4.3站点连接 (10)4.4数据库服务器 (11)4.5站点配置 (12)5登录页面 (13)6自定义设置 (14)6.1设置项目用户和权限组 (15)6.2添加自定义字段 (17)6.3添加查找列表 (19)7测试需求 (21)7.1测试需求简介 (21)7.2需求的建立 (21)7.3需求与用例的关联 (23)7.4需求与缺陷的关联 (24)7.5需求的覆盖 (26)8测试计划 (28)8.1测试计划简介 (28)8.2测试用例的建立 (28)8.2.1用例的建立和命名 (28)8.2.2详细信息 (29)8.2.3测试步骤 (30)8.3测试数据及参数化 (32)8.4与需求的关联 (34)8.5链接的缺陷 (35)9测试实验室 (35)9.1测试实验室简介 (35)9.2测试集的建立 (36)9.3测试集的运行 (37)9.4执行流 (41)10缺陷 (43)10.1Defects简介 (43)10.2缺陷的添加 (43)10.3缺陷的浏览和筛选 (45)11QC MSExcel Addin (46)12缺陷图表和文档生成 (50)12.1缺陷分析 (50)12.2文档生成 (54)2概述Quality Center 9.0是Mercury Interactive 公司推出的一个基于Web 且支持测试管理的所有必要方面的应用程序。
该软件提供统一、可重复的流程,用于收集需求、计划和安排测试、分析结果并管理缺陷和问题。
组织可使用该软件在较大的应用程序生命周期中实现特定质量流程和过程的数字化。
该软件还支持在IT 团队间进行高水平沟通和协调。
QC的主要功能:1.Quality Center 有助于维护测试的项目数据库,这个数据库涵盖了应用程序功能的各个方面。
设计了项目中的每个测试,以满足应用程序的某个特定的测试需求。
要达到项目的各个目标,可将项目中的测试组织成各种特定的组。
Quality Center 提供了一种直观、高效的方法,用于计划和执行测试集、收集测试结果以及分析相关数据。
Quality Center 还具有一套完善的系统,用于跟踪应用程序缺陷,通过它,您可以在从初期检测到最后解决的整个过程中严密监视缺陷。
将Quality Center 链接到电子邮件系统,所有应用程序开发、质量保证、客户支持和信息系统人员可以共享缺陷跟踪信息。
2.Quality Center 可以集成Mercury 测试工具(WinRunner、QuickTest Professional、QuickTest Professional for Windows Client、LoadRunner 和Visual API-XP)以及第三方和自定义测试工具、需求和配置管理工具。
Quality Center 可以无缝地与您选择的测试工具通信,提供一种完整的解决方案,使应用程序测试完全自动化。
3.Quality Center 可指导您完成测试流程的需求指定、测试计划、测试执行和缺陷跟踪阶段。
它把应用程序测试中所涉及的全部任务集成起来,有助于确保客户能够得到最高质量的应用程序。
3安装Quality Center客户端无需安装,在IE中直接访问http://linksky-0test:8080/qcbin即可进入Quality Center主页,如果是第一次访问,系统会要求用户安装插件;安装完毕后,点击Quality Center链接项,即可进入项目选择和登录页面;站点管理相当于QC的Site Administrator;插件页提供了一部分插件下载的官方链接。
4站点管理点击“站点管理”链接进入登录页面,该页面只有admin用户可以登录,在站点管理页面中可以对站点项目、站点用户、许可证、QC数据库、数据服务器进行相应的设置,本节这里只介绍经常用到的对站点项目和用户的操作,如果想进一步了解“站点管理”的其他功能请参考Quality Center9.0用户手册;4.1站点项目在“站点项目”页卡下点击【创建域】并输入域的名称,来建立新的域;域建立完毕后,右侧会显示该域的详细信息,如图:接着点击“创建项目”打开“创建项目”窗口建立新项目第一项用于创建一个空的项目;如果选择第二项,则创建的项目将会继承所复制项目的所有数据;第三个选项是进行项目数据移植时使用的,这里我们选择第一项,创建一个空项目,并点击【下一步】按钮输入项目名称,在这一步中如果之前选择的域错误,还可以在此选择此项目包含于哪个域下,完成后点击【下一步】按钮继续;选择数据库类型,和数据库服务名、管理员用户和密码后继续点击【下一步】按钮这里可以选择该项目所需加载的用户(注此处加载用户后,默认都具有qcadmin和viewer的权限,需要手动再修改),完成后点击【下一步】按钮继续最后点击【创建】按钮完成项目的创建4.2站点用户点击“站点用户”标签下的“新建用户”按钮打开“新建用户”窗口来添加用户,如下图:填写完毕后点击OK按钮完成添加;提示:1、用户名即登录ID2、为了方便识别“全名”这一栏请填写用户的中文名;3、如果要使用QC的自动发送邮件功能,就必须填写电子邮件地址4、新用户建立后密码默认为空,如果需要在站点管理为其添加密码,请点击右侧上方工具栏中的【设置用户密码】按钮4.3站点连接在“站点连接”标签下可以查看目前正在连接QC服务器的用户信息列表,这部分功能不多,值得注意的时,如果有特殊原因导致有用户锁死,在这里可以强行踢下线,已保证项目能正常使用(当某个需求、用例或缺陷在用户编辑状态下时,其他用户无法对其进行操作)如下图:4.4数据库服务器在“数据库服务器”页面,可以新增/删除数据库,如果需要建立新的QC数据库,包括Oracle和SQL,点击【新建】按钮如下图所示:QC管理员用户:qcadminQC管理员密码:qcadmin4.5站点配置在“站点配置”页面,可以对QC安装时的一些配置项进行修改和重新配置;如果邮件服务器没有安装的时候指定,可以在“站点配置”中进行重新配置,分别是MAIL_PROTOCOL和MAIL_SERVER_HOST项,如下图所示:5登录页面Quality Center的登录页面和TD的有一些区别,TD是登录同时选域和项目,而QC是先进行身份验证,再选择域和项目,这样不属于该用户的域和项目在身份验证后也不会显示出来;避免了当域和项目过多时,选择的不便。
6自定义设置成功登录Quality Center后选择右上方的“工具”选项,选择自定义(即TD登录页面中的Customer选项);6.1设置项目用户和权限组选择左侧的“设置项目组用户”,需要在项目中添加用户时在这里进行操作,点击【添加用户】按钮,将数据库用户列表中属于该项目的用户添加进来(也可以在这里新建用户),用户添加完成后设置用户权限,QC默认的权限组有5个,分别是Viewer(对应TD中的Guest)、QATester(测试人员)、Developer(开发人员)、Project Manager(项目经理)和TDAdmin(超级管理员)。
但在实际工作中很可能以上权限组的和实际工作中需要的权限不一样,这就需要重新设置适合自己的权限组,点击左侧的“设置组”选项,在右侧选择新增组,如下图所示:由于QC默认的5个权限组是无法修改的,所以在新建权限组时,可以选择继承一个的所有权限,并在这个基础上再修改,完成后点击确定按钮,并选中新增的权限组,点击“更改”对其权限进行修改,常用的权限主要集中在对缺陷的处理上,我们以此为例说明QC中对权限的修改方法;首先选中“缺陷”页卡,展开“修改缺陷”,点击“状态”,在右边对转换规则进行修改,例如我们新建的这个组是继承于Developer权限组,其默认的转换规则如下图所示代表此权限组能将缺陷的状态从“打开”转换为“固定”和“已否决”,从“重新打开”转换为“固定”和“已否决”(QC9.0的中文版中缺陷状态固定应该是Fixed,不知道为什么会翻译成固定,看着别扭的话可以手动改成已修复),下面我们添加两条转换规则,从“打开”到“已修复”和从“重新打开”到“已修复”,点击【添加】按钮,添加如下图示所示的转换规则($ANY就是任意值,如果选择从$ANY到$ANY即该权限组可以将任意状态的缺陷转换为任意状态)。
6.2添加自定义字段在Quality Center中提供了许多好用的字段,但是在实际应用中,需要添加一些自定义的字段来方便对需求、用例和缺陷进行统计和管理,例如模块字段等;下面我们以在缺陷表中增加一个模块字段方便进行缺陷统计和管理,首先在左侧选择“自定义项目实体”,在右侧展开“缺陷”,选择“用户字段”,并点击【新建字段】按钮,如下图所示:在“字段标签”中填入别名“模块列表”,在“字段类型”选择“查找列表”,并在下方查找列表选项里选择一个列表,最后点击保存,完成添加自定义字段的操作。
字段类型属性可以选择数字、字符串、查找列表、用户列表、日期5种类型;数字类型:字段值为数字类型,如编号;字符串类型:字段值为字符串类型,如摘要、注释;查找列表类型:字段值为用户定义的下拉列表,下拉列表的取值用户可以自己定义,如严重级别、BUG状态;用户列表类型:字段值为以本项目相关用户为取值的下拉列表,如分配给、提交人;日期类型:提供日期选择窗口,如BUG发现时间;点击确定按钮完成字段的添加;字段的添加只影响本项目。
6.3添加查找列表通常我们在添加了类型为查找列表的自定义字段后,还必须手动添加查找列表,QC系统里有两个地方可以进行添加,一个是在添加自定义字段后且选择类型为查找列表时,页面会出现新建和选择列表的选项,如下图其中【新建项目】和【新建子项】用来添加不同级别的列表内容,其余功能都比较简单,就不再赘述,创建结果如下图:或者点击左侧的“自定义项目列表”并在右侧按以上面叙述过的方法添加列表内容7测试需求7.1测试需求简介“没有测试需求的测试,就好比到商场没有购物清单一样。
购物者可能需要在每一个通道中穿行,查找货架上每一项物品,以确定要购买的物品。
”——摘自《软件测试基础:方法与度量》Quality Center将测试活动大体分为四个阶段,在页面左侧点击“需求”进入测试需求页面,在此页面中显示了测试需求的各种信息7.2需求的建立首先点击新建需求按钮,在弹出的“新建需求”窗口中输入需求名称,点击确定按钮完成需求的建立,如图:接着按照具体模块的需求分析文档或者功能列表来逐步建立每个测试需求和子需求;以登录界面为例:登陆界面优先级使用正确的用户名和密码是否可以正常登录系统5-Urgent使用错误的用户名和密码系统是否正确提示错误4-Very High用户名和密码是否安全4-Very High网络异常中断登录功能是否能正确提示错误3-High登陆界面的对象和特征是否都符合标准2-Medium登陆界面是否支持多种访问方式2-Medium7.3需求与用例的关联对整个测试来说,测试计划中的测试用例与测试需求对应是基础。