Are you looking for job change in software testing/QA or interested in learning HP QTP from an ideal trainers ? your search will come to an end with www.testleaf.com - The Chennai's best test automation workshops. contact 9500006373 for more details.

Thursday, September 8, 2011

TESTING PROCESS IN QTP


TESTING PROCESS IN QTP

1. Create Test Plan
2. Generate the Tests
3. Enhance the Tests
4. Debug the Tests
5. Run the Tests
6. Analyze Test Results
7. Report Defects

1) Create Test Plan
The First step in the QTP testing Process is Creating Test Plan. Here we analyze the Application Under Test (AUT) and create Test plan for Automation testing. After that, we select the Test cases for Automation. Once the test cases are selected we prepare the test data and if required configure the QTP according to our requirements.

2) Generating Tests/scripts and Enhancing Tests
The next step is Generating the Tests/Scripts (scripts are called tests in automation testing, Will be using Test henceforth). Tests can be prepared either by recording (mostly not recommended) or by scripting using VBScript, QTP supports only VB scripting. In Generation of Tests itself, we will create Object Repository and add the required object to it. We use descriptive programming (will discuss about Descriptive programming in detail in my later post) when required. 
   Once the generation of Tests is done, the next step is to enhance the test. While Enhancing the test we insert checkpoints, output Values, add comments to the steps, and insert Synchronization, Parametrization and calling the Actions (Reusable) and functions.

 3) Debugging Tests
 After enhancing the tests, we debug the test to check its efficiency. Here we use multiple debugging options like breakpoints, watch, debug Viewer (debugging comments present in QTP).  

 4) Running Tests
 These tests are finally executed using several modes: Normal Execution, Batch Execution, executing tests from framework. 

 5) Analyzing Results
 After the Test execution, QTP automatically opens the result Window. Here we filter the results (depending what is required whether we need only the passed and Failed results or etc), Export the results to Shared folder where everyone can have access.

6) Reporting Defects
 If we find any defects after the execution of our Tests, the next step in QTP process is to report the defects. We can report manually or we can even mail our results directly to the concerned person. On the other hand, we can also log the defects directly in Quality Center Tool.

2 comments:

  1. Looks cool... can u pls give me an idea for automating the flash based application. If you suggest some open source tools for ths it ll be good ...

    ReplyDelete
  2. Hi Edwin,
    You can try "SAHI". Its a open source tool which handles AJAX and Flex as per my knowledge. For more details please visit http://www.sahi.co.in

    ReplyDelete