QTP for Regression Test

icon
Industry

Software Testing

icon
Technologies

QTP
RobotFramework
Jemete

icon
Location

UK

ABOUT

A UK based Software Company engaged us to test a product, it includes two parts: a web site for data collection and presentation purpose, in parallel a windows application for administers purpose. Our task is designing some documents such as test plan, test cases, and executing tests, finally, submitting related analysis reports to clients.

Is this article, there is only some description for regression test.

Background

imageTime consuming data collection

Currently the data on the customers' side was gathered from a variety of sources and stored in spreadsheets. This process was time consuming and potentially prone to errors. This project was used to collect, analyze and process data of each service point automatically. This product includes two parts: a windows application for administers to administrate roles, users, services, data cycles and some calculation standards; a bespoke website would be used to aid in the data collection and reporting process.

imageComplex business rules

Stand testers side, the windows application is simple to test, but the website is inclined to produce bug, because there are many complicated business regulars in it, moreover every page is a sheet like excel, there are many related cells in one sheet, so if developer only changed a little, maybe there are some unexpected bugs appeared. Because ensure data correctness is very important, we decide to test web manually. As regression test, testing the windows application is necessary; in addition, website needs some data which should be inputted in the windows application.

Then, how to improve the efficiency of regression test?

Solution

At first we find out the modules which used mostly, then make a checklist, generate the auto test script, with the help of the daily built, we can run these auto test script and get the result next morning. In this way we can check if these import modules work in the right way, and fix problem as soon as possible. At the same time, it saves us a lot of time, so we have more time to check other modules and complex logic.
imageManual test

For the website, we mainly tested it manually to ensure all functions were implemented correctly. Of course, for performance testing, we used LR to do this.

imageAutomated testing tools

On the other hand, we used QTP for the windows application. There are two purposes to use this automated testing tool, one is ensuring all function of this part are working correctly; the other purpose is generating necessary data for website testing.

imageWhat is QTP?

QTP (Quick Test Professional) is an automated functional Graphical User Interface (GUI) testing tool created by the HP subsidiary Mercury Interactive that allows the automation of user actions on a web or client based computer application. It is primarily used for functional regression test automation. QTP uses a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test.

imageQTP Script

There are two ways to create script, one method is record-and-playback, and the other one is coding VBScript manually. Because the quality of windows application is good and it seems more simply, we adopted record-and-playback method to generate QTP script.

Benefits

Via using QTP, it improved the efficiency of regression tests much.

Why Nova

icon
Experienced

The developers have rich project experience and can better complete the assigned development work.

icon
Protection

Nova is a professional software development company with standardized project service experience.

icon
Economical

Comparing with local related development, the client saved 60%.

Get In Touch
Copyright © 2005 - 2024 Nova Software Inc. All Rights Reserved.