Sunteți pe pagina 1din 4

Testing Process

The QuickTest testing process consists of the following main phases:


1. Analyzing your application
2. Preparing the testing infrastructure
3. Building your tests and adding steps to them
4. Enhancing your test
5. Debugging, running, and analyzing your test
6. Reporting defects
1. Analyzing your application
Analyzing the AUT
Automation Test Plan Generation
Automation Framework Implementation
Generating/Selecting Test cases for Automation
Collecting Test Data
QTP Tool Settings Configuration
The first step in planning your test is to analyze your application to determine
your testing needs.
What are the application's development environments (Ex: Web, Java,
or .NET)? You will need load QuickTest add-ins for these environments
to enable QuickTest to identify and work with the objects in your
application.
What business processes and functionality do you want to test? To
answer this, think about the various activities that customers perform
in your application to accomplish specific tasks.
Consider how to divide these business processes into smaller units.
You will be creating actions based on these tasks. Smaller and more
modular actions make your tests easier to read and follow, and help
ease maintenance in the long run.
2. Preparing the testing infrastructure

Based on the testing needs, you determine what resources are


required and create these resources, accordingly.
Resources include shared object repositories containing test objects
(which are representations of the objects in your application), function
libraries containing functions that enhance QuickTest functionality, and
so on.
You also need to configure QuickTest settings so that QuickTest will
perform the tasks you need, such as displaying a results report every
time you run a test.
3. Building your tests and adding steps to them
After the testing infrastructure is ready, you can begin building your
tests.
You can create one or more empty tests and add actions to them to
create the testing skeletons.
You associate your object repositories with the relevant actions, and
associate your function libraries with the relevant tests, so that you
can insert steps using keywords.
4. Enhancing your test
Adding Comments
Synchronization
Parameterization
Inserting Flow Control Statements
Calling User defined functions and/or Reusable Actions
Inserting Transaction Points
Regular Expressions
Inserting checkpoints into your test lets you search for a specific value
of a page, object, or text string, which helps you determine whether
your application is functioning correctly.

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 or loop statements enables you to add
sophisticated checks to your test.

5. Debugging, running, and analyzing your test


Debugging:
Debug Commands & Break Points
Step by step execution
Watching Variables
Changing values of variables
You debug a test to ensure that it operates smoothly and without
interruption.
Running:
Normal Execution
Batch Execution
Through AOM Scripting
After the test is working correctly, you run it to check the behavior of
your application. While running, QuickTest opens the application and
performs each step in your test.
Analyzing:
QTP Result window
Defining our own Results
Exporting Results
You examine the test results to pinpoint defects in your application.

6. Reporting defects
Manual Defect Reporting
Tool based Defect Reporting
Working with Quality Center
If you have Quality Center installed, you can report the defects you
discover to a database. Quality Center is the HP test management
Tool.

S-ar putea să vă placă și