Professional Documents
Culture Documents
QTP Training Day 1
QTP Training Day 1
Concepts
&
QTP At A Glance - Day 1
Software Test Automation is the process of automating the steps of manual test
cases using an automation tool Or utility to shorten the testing life cycle with
respect to time…
When application undergoes regression, some of the steps might be missed out
or skipped which can be avoided in Automation…
Automation helps to avoid human errors and also expedite the testing
process…
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…
Running Tests
Creating Tests
• Create a test script by recording a manual test scenario on
the AUT (Application Under Test) using QTP.
• 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)
Run Modes
− Normal
− Fast
− Update
Quick Test Professional - Options General
Best Practices for General Options:
− Deselect all check boxes except “Save data for integrating
with performance testing …” and “Display Add-in Manager
on startup” which is default setting.
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“
− Set the option - This window will appear the first time you
click on the Record button in the new test.
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…