Wednesday, 22 August 2012

Different Testing processes in QTP


QTP testing process consists of 6 main categories:
Create test plan 
Before automating there should be a detailed description of the test including the exact steps to follow, data to be input, and all items to be verified by the test. The verification information should include both data validations and existence or state verifications of objects in the application.
Recording a session on the application 
As you navigate through your application, Quick Test graphically displays each step you perform in the form of a collapsible icon-based test tree. A step is any user action that causes or makes a change in your site, such as clicking a link or image, or entering data in a form.
Enhancing test 
Inserting checkpoints into your test lets you search for a specific value of a page, object or text string, which helps you identify whether or not your application is functioning correctly. NOTE: Checkpoints can be added to a test as you record it or after the fact via the Active Screen. It is much easier and faster to add the checkpoints during the recording process. Broadening the scope of your test by replacing fixed values with parameters lets you check how your application performs the same operations with multiple sets of data. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.
Debugging test
if any changes were made to the script, you need to debug it to check that it operates smoothly and without interruption.
Running your test on a new version of your application
you run a test to check the behavior of your application. While running, Quick Test connects to your application and
performs each step in your test.
Analyzing the test results 
You examine the test results to pinpoint defects in your application.
Reporting defects 
As you encounter failures in the application when analyzing test results, you will create defect reports in Defect Reporting Tool.



What is QTP?
QTP is one of the good automation tool which supports graphical interface record-playback. Quick Test enables you to test standard web and Windows applications.
What are the Features & Benefits of QTP?
• QTP should operate as standalone tool and integrated into Mercury Business Process Testing and Mercury Quality Center.
• Testing results could be automatically fed into a database that may provide useful statistics on how good the software testing is going.
• It provides Key word driven testing.
• QTP Identifies objects with Unique Smart Object Recognition, even if they change from build to build.
• By using QTP, Test execution time and cost will reduce.
What are the different scripting languages you could use when working with QTP?
Visual Basic (VB),XML,JavaScript,Java,HTML
What is the file extension of the code file & object repository file in QTP? 
Code files extension is.vbs.
Object repository file extension is.tsr
What is Object Spy in QTP? 
The Object Spy displays the selected object’s hierarchy tree, properties and values in the Properties tab of the Object Spy dialog box.
Using the Object Spy, you can view the properties of any object in an open application. You use the Object Spy pointer to point to an object.

No comments:

Post a Comment