QuickTest Pro 8.2 Tutorial
QuickTest Pro 8.2 Tutorial
QuickTest Pro 8.2 Tutorial
2
Tutorial
Outline
Automated Testing
QTP Introduction
Preparation
Record
Enhance
Run & Debug
Reference
Drawbacks of manual testing
What is QTP?
Mercury QuickTest Professional is functional test and
regression test automation solution that address every
major software application and environment.
Basic purpose: to test standard web object,
ActiveX controls and Visual Basic controls
Structure: B/S and C/S
Testing process
Preparation
Record
Enhance
Run & Debug
Analyze
Preparation
What process and web?
What’s the expected?
Testing Plan: When to begin and end?
Add comment
Creating checkpoints
Parameterizing Tests
Suggestions:
Playback of it first
Add Comment
‘
‘Browser("Browser").Page("Page_2").WebEdit("#hobby").Set "Reading
novels"
Browser("Browser").Page("Page_2").WebButton("Submit").Click
Rem
Rem <<<<<<<<<<<<<check the output
Browser("Browser").Page("Page_3").WebElement("input_text_1").Check
CheckPoint("input_text_1")
Browser("Browser").Page("Page_3").WebEdit("#hobby").Set "Watching TV"
Browser("Browser").Page("Page_3").WebButton("Submit").Click
Creating checkpoints
A checkpoint is a verification point
that compares a current value for a specified property with the
expected value for that property.
Global Sheet
Usage: it will be available to all actions and control
the number of test iterations.
Local Sheet
Usage : it will be available in
that action only and control the
number of action iterations.
Advanced configuration
Regular expression
QTP Help
\\192.168.1.1\bpm_testing\06_Testing_Tools\QTP Resource
http://www.51testing.com/cgi-bin/forumdisplay.php?fid=69
http://www.qaforums.com/cgi-bin/forums/ultimatebb.cgi?ubb=forum;f
=20;DaysPrune=1000
http://www.4028.cn/supgbk/articlelist.php?id=7
http://support.mercury.com
Any Questions?
Any Questions?
Summary