Introduction to QTP (QuickTest Professional) Part1

Posted on Dec 29 2008 - 4:28pm by Raj

Automation Fundamental Concepts 

What is Test Automation ?

  • 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
  • To implement the Test Automation detailed planning and effort is requiredAutomation saves time and effort which results in reduction of the Test life cycle

Benefits of Automation
        – Consistency of Test Execution
        – Reducing cycle time of regression test cycles
        – Data driven testing
        – Repeatability
        – Coverage
        – Reliability
        – Re-usability of test wares

  • 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

qWhen Automation is applicable?

  • §Regression Testing Cycles are long and iterative.

  • §If the application is planned to have multiple releases / builds

  • §If it’s a long running application where in small enhancements  / Bug Fixes keeps happening

  • §Test Repeatability is required

Introduction to QTP (QuickTest Professional)
“The Mercury advanced keyword-driven testing solution”
Technologies Supported
    Default Support

  1. Standard Windows applications
  2. Web objects / Applications
  3. ActiveX controls
  4. Visual Basic applications 
Additional QuickTest add-ins Support,
  1. Java
  2. Oracle
  3. SAP Solutions,
  4. .NET Windows
  5. Web Forms,
  6. Siebel,
  7. PeopleSoft,
 8.  Web services,
 and terminal emulator applications.

Quick Test Pro involves 3 main stages:
   1. Creating Test scripts   
   2. Running Tests    
   3. Analyzing Test Results

1. Creating Tests    
Create a test script by recording a manual test scenario on the AUT (Application Under Test) using QTP.

Quick Test Pro graphically displays each step users perform in the form of a collapsible, icon based tree view in QTP’s Keyword View.

2. Running Tests & Analyzing Test Results
Running Tests:
Once the test scripts are recorded / created, next step is to execute them…While running (executing) the tests Quick Test Pro connects to the web site or AUT and performs each operation in the test as performed manually while recording / creating tests (test scripts)…
Debugging Test : To identify and eliminate the defects in the test scripts.
Analyzing Test Results:
Once the test scripts are executed, test results and the summary can be viewed for result analysis.
Add-in Manager

Default Add-ins
ActiveX
Visual basic
Web

Other Add-Ins
Siebel
Java
SAP
Oracle
.Net and many more

alt 

  • ØQTP’s Add-in Manager facilitates the users to select the technology / environment from variety of environments suitable for the AUT (Application Under Test)

  • ØOnce an add-in is loaded, users can record that application in its supported environment and thus QTP recognizes the objects specific to the application under test (AUT) as loaded through Add-in Manager.

  • ØIt is critical for the users to know the development technologies / environment of AUT, and load right Add-Ins while invoking Quick Test Pro.

Next: Introduction to QTP (QuickTest Professional) Part2

About the Author

Leave A Response