您的位置:首页 > 产品设计 > UI/UE

Mercury QuickTest Professional Tutorial [翻译] (三)

2010-07-03 11:36 274 查看
Testing Process

The QuickTest testing process consists of seven main phases:

1. Preparing to record
Before you record a test, confirm that your application and QuickTest are set to match the needs of your test.
Make sure your application displays elements on which you want to record, such as a toolbar or a special window pane, for example, and that your application options are set as you expect for the purposes of your test.

2. Recording a session on your application
As you navigate through your application or Web site, QuickTest graphically displays each step you perform as a row in the Keyword View. A step is any user action that causes or makes a change in your application, such as clicking a link or image, or entering data in a form.

3. Enhancing your test
Inserting checkpoints into your test lets you search for a specific value of a page, object, or text string, which helps you determine whether your application or site is functioning correctly.
Broadening the scope of your test, by replacing fixed values with parameters, lets you check how your application performs the same operations with multiple sets of data.
Adding logic and conditional or loop statements enables you to add sophisticated checks to your test.

4. Debugging your test
You debug a test to ensure that it operates smoothly and without interruption.

5. Running your test
You run a test to check the behavior of your application or Web site. While running, QuickTest opens the application, or connects to the Web site, and performs each step in your test.

6. Analyzing the test results
You examine the test results to pinpoint defects in your application.

7. Reporting defects
If you have Quality Center installed, you can report the defects you discover to a database. Quality Center is the Mercury test management solution.

译:

测试步骤
QuickTest 的测试步骤由以下7个主要阶段组成:

1.准备录制
在你录制一个测试之前,确认你的应用程序和QuickTest已经设置到符合你测试需要的状态。
确保你的应用程序显示了你想要录制的元素,例如工具栏或一个特殊的内嵌窗口,并且确保你的应用程序选项已经设置到为你的测试目的所期望有状态。

2.在你应用程序上录制一个会话
当你通过应用程序或网站导航时,QuickTest在关键字视图中以每一行生动地显示了你所执行的每一步。每一步就是在你的应用程序中能够引起或制造改变的任务用户动作,例如,单击一个链接或图片,或者在一个表单中输入数据。

3.优化你的测试
插入检查点到你的测试中,使你能够查看页面、对象或文件字符串的一个特殊值,这些能够帮助你判断你的应用程序是否功能正确。
通过使用参数替换固定值的方式来扩展你的测试的范围,使你能够检测,你的应用程序在使用多样的数据集执行同样的操作时如何执行。
添加逻辑和条件语句,或循环语句使你能够向测试中添加复杂的检查。

4.调试你的测试
你调试测试确保它能够流畅地运行而没有任何中断。

5.运行你的测试
你运行一个测试去检查你的应用程序或网站的行为。当运行时,QuickTest打开应用程序或连接到网站,然后执行在你测试中的每一步。

6.分析测试结果
你通过检查测试结果去查明在你应用程序中的缺陷。

7.报告缺陷
如果你安装了质量中心,你可以将你发现的缺陷报告到数据库。质量中心是Mercury的测试管理解决方案。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: