Fundamental Concepts
&
QTP At A Glance - Day
1
Benefits of Automation
- Consistency of Test Execution
- Reducing cycle time of regression test cycles
- Data driven testing
- Repeatability
- Coverage
- Reliability
- Reusability of test wares
Automation Fundamental Concepts
Automation life cycle is a subset of the entire test life
cycle…
Automation planning can be initiated in parallel to the
test planning phase…
Factors to be considered in automation planning,
Stability of AUT (Application under test)
No of regression cycles to be performed
Compatibility of App platform with testing tools
Cost benefit analysis (ROI)
Availability of skilled resources
Regression Testing & Automation
When Automation is applicable?
Running Tests
Creating Tests
• Default Add-ins
− ActiveX
− Visual basic
− Web
• Other Add-Ins
− Siebel
− Java
− SAP
− Oracle
− .Net and many more
Add-in Manager Cont…
QTP’s Add-in Manager facilitates the users to
select the technology / environment from variety
of environments suitable for the AUT (Application
Under Test)
Recording Modes
− Normal
− Analog
− Low level
Run Modes
− Normal
− Fast
− Update
Quick Test Professional - Options
General
Test Results:
• Deselect the option “View Results when run session ends”
Screen Capture:
• Save step screen capture to results "On error and warnings"
Record and Run Settings
Record and Run Settings
Best Practices for Record & Run Settings,
− Set the options to configure QTP to "Record and
run test on any open Windows- based
application“
Keyword View:
Quick Test Pro displays your test in the form of a
collapsible, icon based tree…
Expert View:
Quick Test Pro displays the source code (VB Script) of
the tests in this view.
QTP - Main Window
QTP - Main Window
Data Table :
Data table assists in Parameterizing the
tests…