Mercury Interactive Product Training

Download Report

Transcript Mercury Interactive Product Training

Using QuickTest Professional
USINGQTP65-STUDENT-01A
Course Objectives
Using QuickTest Professional 6.5 teaches you to:
 Automate tests by recording user steps of business
transactions
 Automate verification using checkpoints
 Investigate and modify captured object properties using
the Object Repository and Object Spy
 Integrate tests to verify data and business flow
 Create reusable tests using parameterization and multiple
actions
 Handle recording and playback issues using additional
QuickTest features
Why Use QuickTest Professional for Automated Testing?
No Testing
Manual Testing
•
•
•
•
•
Time consuming
Low reliability
Human resources
Inconsistent
Good for tests to be
performed only
once
Automated Testing
Speed
Repeatability
Coverage
Reliability
Reusability
Saves time
when repeating
tests
Why Use QuickTest? (1)
Ease of use for multiple types of users
ICON-BASED TREE VIEW
Business analysts and new users
can quickly generate automated
tests with no programming code
ACTIVE SCREEN
Interact with objects captured
during recording
DATA TABLE
Different data can be used to run one test (instead
of manually running tests repeatedly)
Why Use QuickTest? (2)
Powerful scripting capabilities for robust testing:
 For users with programming backgrounds
 For users who will work with dynamic values, external
DataTables, QuickTest methods, programming operations
Working with the Expert View is taught in the Advanced QuickTest Professional course.
QuickTest Professional 6.5 Configurations
QuickTest Pro
.Net Add-in
 Winforms, Webforms,
.Net Controls
QuickTest Pro
Add-Ins
Java Add-in
 JDK 1.1 – 1.4.2
Web Environments
Terminal Emulator Add-in
 IE, NS, AOL
3270, 5250, vt100
 ActiveX
 XML, DHTML, HTML
SAP Add-in
 SAP GUI, Web, Portals 6.2
Client/Server
 Windows
 Win32 / MFC
 Visual Basic
Oracle Add-in
 11i
Operating Systems
Windows 98, 2000,
NT, ME, XP
PeopleSoft Add-in
 8.0 – 8.8
Siebel Add-in
 7.0 & 7.5
Webservices Add-in
 WSDL, .Net, J2EE
QuickTest Professional Workflow
1
2
3
4
Plan
Create
Verify & Enhance
Integrate
Plan the automated
test
Record user actions
to generate the basic
test
Enhance the
automated test for
playback and testing
Gather relevant
test information
Create basic test
Enhance basic test
Integrate tests
•Record user
actions
•Insert checkpoints
•Correlate data
•Data drive the test
•Build integration
test scenarios
•What are the test
requirements?
•Where can I get
data to use?
•Verify successful
playback
Run multiple tests to
check flow of data
Objective for This Course – Test a Business Scenario
Create automated tests to test a business scenario
Windows Flight Application
Mercury Tours Web Site
Login
Insert New Order
Update Order
Register
Verify that the
order number
generated in
Insert New
Order is used to
open and
update an order
Sign-In
Add New Reserv
Verify that the
user name and
password
created during
registration is
used to sign into
the web site