Mercury QuickTest Professional Tutorial [翻译] (一)

来源:互联网 发布:淘宝发布商品后 编辑:程序博客网 时间:2024/05/01 05:49

About This Tutorial

Welcome to the QuickTest Professional tutorial. The tutorial is a self-paced guide that teaches you the basics of testing your application with QuickTest, the powerful functional testing solution.

This tutorial will familiarize you with the process of creating and running automated tests and analyzing the test results. After completing the tutorial, you can apply the skills you have learned to your own application or Web site.

Note: In addition to tests, QuickTest enables you to create business components for use in business process tests, if you have Quality Center with Business Process Testing support installed. The procedures described in this tutorial are designed for creating tests, but you can also apply the majority of these procedures to creating business components. For more information on business components and Business Process Testing, refer to the Mercury QuickTest Professional for Business Process Testing User's Guide and the Mercury Business Process Testing User's Guide.

译:

关于本指南

欢迎来到QuickTest Professional指南。本指南是一个自我控制的向导。它教你使用QuickTest(强大的功能测试解决方案)来测试你的应用程序的基本知识。

本指南将使用熟悉创建、运行自动化测试的过程并分析测试结果。在走完本指南之后,你能够将学到的技能应用到你自己的应用程序或网站。

注意:除测试之外,如果你安装有支持业务处理流程测试的质量中心,QuickTest能够使你创建用于业务处理测试的业务组件。本指南中描述的过程被设计用于创建测试,但是你也能够将这些过程的大多数应用到创建业务组件。要获取更多关于业务组件和业务处理测试的信息,请参考Mercury QuickTest Professional for Business Process Testing User's Guide and the Mercury Business Process Testing User's Guide.



How This Tutorial Is Organized

The tutorial is divided into short lessons. In each lesson you will create and run tests on the sample Mercury Tours Web site.

This tutorial contains the following lessons:

  • Introducing QuickTest
Compares automated and manual testing methods. It introduces the QuickTest testing process and familiarizes you with the QuickTest user interface and the sample Mercury Tours Web site.
  • Recording Tests
Teaches you how to record a test and provides an overview of the resulting Keyword View display.
  • Running and Analyzing Tests
Describes how to run a test and view the test results.
  • Creating Checkpoints
Provides an overview of different checkpoint types and explains how to add checkpoints to your test to verify that information in your Web site is displayed as expected.
  • Parameterizing Tests
Describes how to parameterize a test using Data Table parameters, and then run the test on multiple sets of data and analyze the results.
  • Creating Output Values
Describes how to use output parameters to retrieve data from the sample Web site, and then run the test and analyze its results.
  • Using Regular Expressions
Teaches you how to create and run a test using regular expressions.
  • Dividing Tests into Multiple Actions
Explains how to divide your test into actions so that you can design more efficient and modular tests.
  • Where Do You Go from Here?
Shows you how to get started testing your own application.

译:

本指南是如何组织的

本指南分成多个短课程。在每一课中,你将在Mercury旅游示例网站上创建和运行测试。

本指南包括下面这些课程:

  • QuickTest介绍
比较了自动化测试和手工测试方法。本课介绍了QuickTest的测试过程,并让你熟悉QuickTest的用户界面和Mercury旅游示例网站。
  • 录制测试
教你如何录制一个测试和提供一个录制结果的关键字视图显示的概述。
  • 运行和分析测试
描述了怎样去运行一个测试和查看测试结果。
  • 创建检查点
提供了不同检查点类型的概述并解释了如何添加检查点到你的测试中去验证你的网站信息是否如预期的那样显示。
  • 参数化测试
描述了怎样使用数据表中的参数去表示测试,然后在多个数据集上运行测试并分析测试结果。
  • 创建输出值
描述了怎样使用输出参数从示例网站中提取数据,然后运行测试并分析测试结果。
  • 使用正则表达式
教你怎样使用正则表达式创建和运行测试。
  • 划分测试为多个动作
解释了怎样划分你的测试为多个动作,使你能够测试更有效和模块化的测试。
  • 从这里出发,你要到哪里去?
展示给你怎样开始着手你自己的应用程序测试。


Who Should Read This Tutorial

This tutorial is intended for users who are new to QuickTest. No prior knowledge of QuickTest is required. A general understanding of testing concepts and functional testing processes may be helpful, but is not mandatory.

译:

谁应该阅读本指南

本指南预期为对QuickTest来说是新手的用户编写的。并不要求事先懂得QuickTest方面的知识。如果基本了解测试概念和功能测试过程可能更有帮助,但并不是强制性的。