Saturday, November 28, 2009
2.Testing Process
o Planning
o Creating Tests or Component.
o Inserting Checkpoints into your test or components.
o Debugging Test Script.
o Running the Test Script.
o Analyzing the Result.
o Reporting Defects.
2.1. Planning:
Before starting to build a test, you should plan it and prepare the required infrastructure.
For example, determine the functionality you want to test, short tests that check specific functions of the application or complete site.
Decide how you want to organize your object repositories.
2.2. Creating Tests or Component:
We can create test or component by
a.) either recording a session on your application or web site.
As we navigate through the application or site, Quick test graphically displays each step we perform as a row in the keyword view. The documentation column of the keyword view also displays a description of each step in easy-to-understand sentences. A step is something that causes or makes a change in your site or application, such as clicking a link or image, or submitting a data form.
(Or)
b.) build an object repository and use these objects to add steps manually in the keyword view or Expert view. We can then modify your test or component with special testing options and/or with programming statements.
2.3. Inserting checkpoints into your test or components:
A checkpoint is a verification point that compares a recent value for a specified property with the expected value for the property. This enables you to identify whether the web site or application is functioning correctly.
2.4. Debugging Test Script:
Broaden the scope of your test or component by replacing fixed values with parameters.
To check how your application performs the same operations with different data you can parameterize your test or component.
2.5. Running the Test Script:
After creating test or component, we run it.
We can control the run session to identify and eliminate defects in the test or component. We can use the
Step Into,
Step Over,
2.6. Analyzing the Result:
After running the test or component, we can view the results of the run in the Test Results window. We can view a summary of the results as well as a detailed report.
2.7. Reporting Defects:
If
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment