Using QuickTest Professional 6.5
Student Workbook
Using QuickTest Professional 6.5
© Copyright 1994 - 2003 by Mercury Interactive Corporation
All rights reserved. All text and figures included in this publication are the exclusive property of Mercury Interactive Corporation
or its licensors, and may not be copied, reproduced, or used in any way without the express permission in writing of Mercury
Interactive. Information in this document is subject to change without notice and does not represent a commitment on the part of
Mercury Interactive.
Mercury Interactive may have patents or pending patent applications covering subject matter in this document. The furnishing of
this document does not give you any license to these patents except as expressly provided in any written license agreement from
Mercury Interactive.
Mercury Interactive and Design, M and Design, WinRunner, XRunner, LoadRunner, TestDirector, TestSuite, WebTest, Astra,
Astra SiteManager, Astra SiteTest, SiteRunner, FreshWater Software, SiteScope, and SiteSeer are registered trademarks of
Mercury Interactive Corporation in the United States and /or other countries. Astra QuickTest, Astra LoadTest, Astra FastTrack,
RapidTest, QuickTest, Visual Testing, Action Tracker, Link Doctor, Change Viewer, Dynamic Scan, Fast Scan, Visual Web
Display, ActiveTest, ActiveTest SecureCheck, ActiveWatch, POPs on Demand, Topaz, Topaz ActiveAgent, Topaz Observer,
Topaz Prism, Topaz Delta, Topaz Rent-a-POP, Topaz Open DataSource, Topaz AIMs, Topaz Console, Topaz Diagnostics, Topaz
WeatherMap, Twinlook, TurboLoad, LoadRunner TestCenter, SiteReliance and Global SiteReliance are trademarks of Mercury
Interactive Corporation in the United States and/or other countries.
This document may also contain registered trademarks, trademarks, service marks and/or trade names that are owned by their
respective companies or organizations. Mercury Interactive Corporation disclaims any responsibility for specifying which marks
are owned by which companies or organizations.
If you have any comments or suggestions regarding this document, please send them via e-mail to:
TrainingDevelopment_US@merc-int.com
Mercury Interactive Corporation
1325 Borregas Avenue
Sunnyvale, CA 94089
Tel. (408)822-5200 (800) TEST-911
Fax. (408)822-5300
QTP65USING-STUDENT-02B
OVERVIEW
Using QuickTest Professional 6.5
teaches new users to create automated
tests for functional testing.
This course covers record and playback,
automating verification, data driving,
reusable actions, correlation and test
integration.
v
Table of Contents
Introduction........................................................................................... i-1
Course Objectives...............................................................................i-2
The challenges of manual testing .......................................................i-2
Why use QuickTest for Functional Testing..........................................i-3
QuickTest Professional 6.5 Configurations..........................................i-5
QuickTest Professional Workflow .......................................................i-6
Objective for This Course - Test a Business Scenario ...........................i-9
1 Test Planning ......................................................................................... 1-1
Types of Data .................................................................................. 1-8
Strategies for sampling test data ...................................................... 1-9
Test Cases for the Flight Reservation (Windows) Application ......... 1-11
Test Cases for Mercury Tours Web Site (Web) ............................... 1-19
2 Create the Basic Test ............................................................................. 2-1
Add-in Manager .............................................................................. 2-3
Record and Run Settings .................................................................. 2-4
ActiveScreen Capture Level Settings ................................................ 2-5
Identify QuickTest Professional Commands/Icons ............................ 2-6
Create the Basic Test ....................................................................... 2-7
The Recorded Steps in the Tree View and Objects in the ActiveScreen 2-9
Components of a QuickTest Step .................................................... 2-9
Save the Basic Test ........................................................................ 2-10
Verify Correct Playback ................................................................. 2-13
Verify the Basic Test Runs Without Errors Using Different Data ..... 2-15
评论0