Friday 30 October 2015

Overview of QTP Life Cycle


QTP is mercury iterative product takeover by HP company . It is functional and regression testing tool used to check the functionality of the application more effectively. The scripting we use in QTP is completely based on VB Scripting. VB scripting is not case sensitive. QTP generally works on windows platforms. It also works on other platforms but the installation process and some features will be changed according to the platforms. It supports all WinRunner supporting technologies like Java, .Net, Seibel, Web, VB, PHP, SAP, Oracle, multimedia applications. QTP has a work flow or Life cycle for functional testing involves the following main stages.
  • Test planning/Analyze the Application
  • Generating the basic test
  • Enhancing the test
  • Debugging the test
  • Executing the test
  • Analyzing the results.

Test Planning/ Analyzing the application:
In test planning the testers understand the requirements and analyze which environments are used to develop the application and controls in the application such as java, SAP , oracle etc. They identify the areas to be automated analyze positive as well as negative flow of these areas. Preparation of automation test plan document based upon the above analysis is done in this phase. They prepare the Pre configuration settings for further operations. So these are the activities that are carried out by the Test panning or Analyzing the Application process
.
Generate the basic Test:
Automation test engineers generate the basis test for positive as well as negative flow of the test. The recording operations on a standalone or web application or an application based on it’s respective environment is recorded to check the functionality of the application. We even use VB scripting concepts to generate Scripts in this Phase.

Enhancing the Test:
Tests can be enhanced by the following activities like
  • Inserting the checkpoints
  • Synchronizing the test
  • Parameterizing the test (Data Driven Testing)
  • Inserting the output values
  • Measuring transactions
  • Inserting programmatic statements
  • Inserting comments
  • Inserting the script statement manually

Debugging the tests:
It is a process of executing the script in a user desired fashion with an objective of identifying the errors in the script. For debugging QTP offers features like.
     3 - Step Commands:
    1) Step Into
    2) Step Out
    3) Step Over
    1 - Break Point: For breaking the execution temporarily
Executing Tests:
In this phase testers execute the Test scripts that has been enhanced and debugged and we execute them using different run modes. 
Analyzing Test Results:
Here we analyze the test results that are obtained during the test executions and these test results are traceable and testers can report the test results using QC explorer and send to the  Test managers where test managers analyze them, according to the priorities and severities of the bug they report it to the developer.






No comments:

Post a Comment