Saturday, December 3, 2011

What type of testing can QTP perform?

I am attempting here to jot down a list of testing that Quick test professional supports:
Levels of testing : QTP is a tool that supports any level of testing. It can be used in Unit testing, Integration testing, System testing or User acceptance testing (UAT). It depends only on the client needs and the level of testing where automation is required the most. Generally we use automation in Integration, System or UAT.
Regression testing: Regression testing focuses on finding defects after a major code change has occurred. Specifically, it seeks to uncover software regressions, or old bugs that have come back. But, it becomes very monotonous when we need to verify if a code change has introduced a new bug in an application area where it was previously working fine. To avoid the monotony, we could automate the functional test cases as we introduce new functionalities in the application. These QTP scripts can be added to the regression test suite and be executed any time we need to regress the entire system, even we can schedule a daily run if we have a daily build schedule.
Web application testing – Quick test professional identifies all generic web elements and the related windows controls. So, there is no question of getting struck up with a windows ‘Save as’ dialogue box like in Selenium (We can use 3rd party tools like AutoIT to take care of this one though). There are different plug-ins available to support the web applications like java, .net etc. Even if a browser is not in the list of browsers supported by QTP, we can still record and execute scripts on the browser as a standard windows application. Isn’t that amazing?
Desktop / Windows application testing : QTP supports all types of windows applications like a VB application, VC++ or a Power builder or any other standard windows application. The tool can emulate key strokes or mouse movements and can identify Activex objects on the standalone applications. There is also a feature called ‘Virtual objects’ of quick test professional used for identifying objects that are not identified normally.
Mobile application testing: Quick test professional supports testing of mobile applications built on Windows Mobile 5.0, Windows Mobile 6.x, Windows Mobile 7 directly. With the support of 3rd party tools like DeviceAnywhere studio (Java based), we can test any mobile application on any mobile/carrier combinations available in the tool. I have heard we can even automate android simulator using QTP, but not quite sure.
Database testing – The tool can read the data from any database sources compliant with Microsoft standards. There are database check points available to verify the values in a table at any given point during test execution. ‘Output values’ in Quick test professional also aids in performing effective and efficient database testing. Above all these we can use the Descriptive programming to perform our database tests, whatever the scenarios are.
Load testing – Quick test professional easily integrates with Load runner another product of HP to expand to the capabilities of the load testing tool. Also, there is an inbuilt feature in QTP called transactions – You can track the time taken by a particular transaction by capturing it through Start and End methods. It is very useful in terms of calculating the response time of a database or a web server using this feature.
Leave a comment and let me know if I left out anything, I will give you the due credit and add it in here.
Also read:
Advantages and disavantages of QTP tool
Why to use QTP for test automation?

1 comment:

Please leave your comment here...