Mercury QuickTest Professional Tutorial [翻译] (四)

QuickTest Window

Before you begin creating tests, you should familiarize yourself with the main QuickTest window.

The image below shows a QuickTest window as it would appear after you record a test, with all toolbars and the Data Table and Active Screen panes displayed:

 

 

The QuickTest window contains the following key elements:

l        Title bar. Displays the name of the currently open test.

l        Menu bar. Displays menus of QuickTest commands.

l        Standard toolbar. Contains buttons to assist you in managing your test.

 

l        View toolbar. Contains buttons to view the various panes that can assist you in the testing process.

 

l        Tools toolbar. Contains buttons to assist you in setting options, checking syntax, and working with the Object Spy.

 

l        Automation toolbar. Contains buttons to assist you in the testing process.

 

l        Insert toolbar. Contains buttons to assist you in inserting steps, actions, checkpoints, and output values into your test.

 

l        Edit toolbar. Contains buttons to assist you in editing your test steps.

 

l        Debug toolbar. Contains buttons to assist you in debugging tests.

 

Note: The Debug toolbar is not displayed when you open QuickTest for the first time. You can display the Debug toolbar by choosing View > Toolbars > Debug, or by clicking the Debug Viewer button. This tutorial does not describe how to debug a test. For additional information, refer to the Mercury QuickTest Professional User's Guide.

l        Action toolbar. Contains buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow.

 

 

Note: The Action toolbar is displayed only in the Keyword View. It is not displayed when you open QuickTest for the first time. You can display the Action toolbar by choosing View > Toolbars > Action. If you insert a reusable or external action in a test, the Action toolbar is displayed automatically in the Keyword View. For additional information, refer to the QuickTest Professional User's Guide.

l        Test pane. Contains the Keyword View and Expert View tabs.

l        Active Screen. Provides a snapshot of your application as it appeared when you performed a certain step during the recording session.

l        Data Table. Assists you in parameterizing your test.

l        Debug Viewer pane. Assists you in debugging your test. The Debug Viewer pane contains the Watch, Variables, and Command tabs. (The Debug Viewer pane is not displayed when you open QuickTest for the first time. You can display the Debug Viewer by choosing View > Debug Viewer, or by clicking the Debug Viewer button .)

l        Information pane. Displays a list of syntax errors found in your test.

l        Missing Resources pane. Provides a list of the resources that are specified in your test but cannot be found, such as unmapped shared object repositories and parameters that are connected to shared object repositories. (The Missing Resources pane is not displayed when you open QuickTest for the first time. You can display the Missing Resources pane by choosing View > Missing Resources, or by clicking the Missing Resources button .)

l        Status bar. Displays the status of the QuickTest application and other relevant information.

Some of the panes and toolbar options listed above are described in detail in subsequent lessons. For information on other panes and toolbar options, refer to the QuickTest Professional User's Guide.

You can also execute many menu commands using shortcut keys. For additional information, refer to the "QuickTest at a Glance" chapter in the QuickTest Professional User's Guide.

Now that you are familiar with the main QuickTest window, take a few minutes to explore its components.


QuickTest 窗口

 

在你开始创建测试之前,你应该让自己熟悉主要的QuickTest窗口。

 

下面的图片展示了在你录制一个测试之后会显示的一个带有所有工具栏、数据表和活动屏幕显示的QuickTest窗口。

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QuickTest窗口包含以下主要元素:

 

l        标题栏 显示打开的测试的名字。

l        菜单栏 显示QuickTest命令的菜单。

l        标准工具栏 包含帮助你管理你的测试的按钮。

l        查看工具栏 包含在测试过程中帮助你查看各种面板的按钮。

 

l        工具工具栏 包含帮助你设置选项、检查语法以及使用对象探测器工作的按钮。

l        自动化工具栏 包含帮助你进行测试过程的按钮。

 

l        插入工具栏 包含帮助你插入步骤、动作、检查点和输出值到你的测试中的按钮。

 

 

 

l        编辑工具栏 包含帮助编辑测试步骤的按钮。

 

l        调试工具栏 包含帮助你调试测试的按钮。

 

注意:当你第一次打开QuickTest时,调试工具栏并不显示。你可以通过选择 视图 -> 工具栏 -> 调试 来显示它,或者点击 调试查看器  按钮来显示它。本指南并不描述如何去调试一个测试。更多信息请参考Mercury QuickTest 专业版用户手册

 

l        动作工具栏 包含按钮和一个动作列表,使你能够查看个别动作的详细信息或整个测试流。

 

注意:动作工具栏仅仅在关键字视图中显示。当你第一次打开QuickTest它并不显示。你可以通过选择 视图 -> 工具栏 -> 动作 来显示它。如果你在测试中插入一个可重用的或外部的动作,那么动作工具栏将自动地显示在关键字视图中。更多信息请参考Mercury QuickTest 专业版用户手册

 

l        测试面板 包含关键字视图和专家视图选项卡。

l        活动屏幕 当你在录制会话期间执行某一步骤时,提供一个你的应用程序的快照显示。

l        数据表 帮助你参数化你的测试。

l        调试查看面板 帮助你调试你的测试。调试查看面板包含了监视、变量和命令选项卡。(当你第一次打开QuickTest时,调试查看面板并不显示。你可以通过选择 视图 -> 工具栏 -> 调试 来显示它,或者点击 调试查看器  按钮来显示它。)

l        信息面板 显示了在你的测试找到的语法错误的列表。

l        缺失的资源面板 提供了在你的测试是指定了但并未发现的一个资源列表,例如未映射的共享对象库和已连接到共享对象库的参数。(缺失的资源面板在你第一次打开QuickTest时并不显示。你可以通过选择 视图 -> 缺失的资源,或者点击缺失的资源按钮 来显示缺失的资源面板。)

l        状态栏 显示QuickTest应用程序的状态和其它相关信息。

 

上面列出的其中一些面板和工具栏选项将在随后的课程中详细描述。关于面板和工具栏选项的更多信息,请参考Mercury QuickTest 专业版用户手册

 

你也可以使用快捷键执行许多菜单命令。更多信息,请参考Mercury QuickTest 专业版用户手册中的QuickTest一瞥”章。

 

由于你已经熟悉了主要的QuickTest窗口,你可以花几分钟时间去浏览它的组件。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值