Saturday, November 28, 2009

1. Introduction To QTP

1.1. What is Quick test Professional?

Quick test professional is a functional and regression testing tool from hp software , which can record the user actions, keyed in while recording and execute these user actions while we play back(run) test. It can be used to test the functionality of the application in the regression testing phase.

1.2. How to decide what test cases to be automated?

When we have a large number of test cases we have to carefully analyze them and group into categories and then decided if that test case should execute on every release/build of the application or not. If the test case is not intended to be executed on every release it should not be automated since if falls into a “one-time” testing category.

Some test cases might be very time consuming to automate where as executing them manually could be just a matter of 5 to 10 minutes. Such type of test cases should be given the least priority in terms of when to automate them. Some test cases may have manual intervention for example: when you create an account in the application someone in your team has to do run some batch processes manually in order for to continue either further testing. These kinds of test cases should not be automated unless you have full control of the backend processes to be run for successful completion of the test using QTP.

1.3. How does QTP works?

QTP has two components,

a.) VB Script Language.

b.) Object Repository.

While recording the user actions on the application s QTP will generate the VB script statements, which indicate the actions it is supposed to perform. While recording, QTP will also learn the objects present in the application, say for example a window, checkbox, radio button etc., and stores these objects in a place called object repository. In order to run the test successfully the corresponding object exists in the object repository.

No comments:

Post a Comment