1
Rapid Web Testing in a High-Velocity Environment
Presented by Greg Paskal an introduction to
Rapid Web Testing in a High-Velocity Environment an introduction to - - PowerPoint PPT Presentation
Rapid Web Testing in a High-Velocity Environment an introduction to 1 Presented by Greg Paskal The Problem Frequent changes to Web pages and applications. Minimal time allowed for sufficient test coverage. Expectations of what can
1
Rapid Web Testing in a High-Velocity Environment
Presented by Greg Paskal an introduction to
3
and applications.
test coverage.
in the amount of time given may not be accurate.
4
Common vs. QA perception of a simple e-mail address change. Common Perception
Is the e-mail link working?
QA Perception
Is the e-mail link working? Does the link launch the e-mail client? Is the e-mail recipient correct? Have other things been impacted by the change? etc…
5
The Solution
Minimal Essential Testing Strategy
A strategy to help get the essential testing done within the time frame allowed.
6
Preparedness A Strategy of…
METS requires preparing for the inevitable product being thrown over the wall.
7
Flexible Scaleable Extensible
8
METS is not?
Not a silver bullet Not a product Not an automated process
9
10
Objects can be viewed from various perspectives including…
11
Tires Lights Glass
12
Acceleration Stopping Lighting Cooling
13
Actions can be prioritized by importance such as…
14
Low Medium High Critical
Tires
Four Condition Pressure Balanced
15
Low Medium High Critical
Completely Stops Expected Timeframe Under Wet Conditions Emergency Brake
Stopping
16
Getting Started in METS
Two preliminary steps
Create a Physical Test Grid
Step One When creating your test grids, identify everything you would like to test if time were not a factor. Step Two
Create a Functional Test Grid
definition: A physical test grid simply contains touchable components of your application such as pages, graphics, forms, links and text. definition: A functional test grid contains business process necessary to utilize aspects of your application. Requirement documents or user guides can help in creating these grids. hint: Create a list of all the touchable components of your application in a spreadsheet. hint: Using your requirement documents or user guide, create a high level list of functional areas such as Product Catalog, Accounts, Search, and so forth.
17
Getting Started in METS
Create Physical Test Grid
Create a Physical Test Grid
Step One When creating your test grids, identify everything you would like to test if time were not a factor. Step Two
Create a Functional Test Grid
definition: A physical test grid simply contains touchable components of your application such as pages, graphics, forms, links and text. definition: A functional test grid contains business process necessary to utilize aspects of your application. Requirement documents or user guides can help in creating these grids. hint: Create a list of all the touchable components of your application in a spreadsheet. hint: Using your requirement documents or user guide, create a high level list of functional areas such as Product Catalog, Accounts, Search, and so forth.
18
Beginnings of a Physical Test Grid
Think about all the physical types of objects interacted with when using the application. List these under a column labeled “Categories.” METS allows your test grids to grow over time. Simply start with the obvious items for now, knowing you will add to it later.
19
Links
Typical Physical Test Grid Objects
Images Buttons Facts Forms
20
Building on the Physical Test Grid
Next add a Critical column and write down test for each specific category. Add High, Medium and Low columns and enter appropriate test for each of these columns and categories.
21
Sample of a Completed Physical Test Grid
Once in your spreadsheet, the Physical Test Grid will be a valuable tool in your testing arsenal. This is just a partial view of a completed Physical Test Grid containing nearly 100 different test that can be performed.
22
Another way to look at it…
Create a second spreadsheet breaking each Physical Test Grid entry into a separate line. Then, add a column for Time Required and Potential Severity and enter this information for each item. The Physical Test Metrics spreadsheet provides invaluable information that will be applied to the creation of the Functional Test Grid.
23
Continuing on…
Create Functional Test Grid
Create a Physical Test Grid
Step One When creating your test grids, identify everything you would like to test if time were not a factor. Step Two
Create a Functional Test Grid
definition: A physical test grid simply contains touchable components of your application such as pages, graphics, forms, links and text. definition: A functional test grid contains business process necessary to utilize aspects of your application. Requirement documents or user guides can help in creating these grids. hint: Create a list of all the touchable components of your application in a spreadsheet. hint: Using your requirement documents or user guide, create a high level list of functional areas such as Product Catalog, Accounts, Search, and so forth.
24
Now Build the Functional Test Grid
Begin by writing down high-level test categories based upon your requirement documentation or simple observation of the
METS allows your test grids to grow over time. Simply start with the obvious items for now, knowing that you will add to it later.
25
Sample of a Completed Functional Test Grid
Build the Functional Test Grid using your test cases or requirement documentation as a guide. This will provide interesting insight to testing areas that can be cut back when less an optimal time frames are given This is a partial view of a completed Functional Test Grid. Yours will likely have many more entries.
26
Another way to look at it…
Create a second spreadsheet breaking each Functional Test Grid entry into a separate line. Then add columns for Time Required and Potential Severity and enter this information for each column. The Time Required information can be estimated using the Physical Test Metrics spreadsheet. Remember, you have estimated the time it takes to check various physical attributes of your application.
27
Advanced METS
There are three areas that will impact the time you have to test.
Breakdown the testing for estimation
Test pertaining to the obvious change or fix.
Example: If the login function was changed, you would obviously test logging in.
Test pertaining to areas that may be impacted by the changes made.
Example: If the login function was changed, then you might also test; creating a new user account, changing user account information or requesting a forgotten password.
has changed.
Example: Accepting an order, accessibility to the online product catalog and store locator function.
28
Estimating the time budget
Determine how much time to budget for each of the three types of test categories.
25% Regression Testing 50% Related Testing 25% Direct Testing
Budgeted % Description
Time budgets will vary depending on your development team’s track record of unit testing and catching obvious bugs before given to QA.
29
Enhancing the Functional Test Metrics
Columns have been added to the Functional Test Metrics to easily specify which test fall under one of the three test categories and the total time required to complete these test.
30
Calculate Actual Time vs. Budgeted Time
By utilizing the calculation functions within your spreadsheet, it’s possible to determine how much time it will take to complete your selected test vs. the amount of time budgeted for them. Continue to add test cases until Time Utilized is the same or close to Time Budgeted.
31
Let the Testing Begin!
Everything is now in place to direct your testing in the limited time frame given. Simply execute the test you’ve selected in the Functional Test Metric!
32
Lets Review:
33
Parting Thoughts…
Remember the following when deciding to incorporate METS into your testing efforts:
put into it.
currently know, even if it seems incomplete.
into your application and areas for potential testing.
because testing never ends!
34
Taking that First Step
The Physical Test Grid has been the most valuable tool in my arsenal, it’s where METS got it’s start! Much of your quick turn-around testing can be accomplished by simply using the Physical Test Grid as a guide. The Physical Test Grid also can be used to broaden the coverage of your test cases.
35
www.GregPaskal.com/METS
On the Web
36
Recommended Reading
ISBN 0-201-79619-8 ISBN 0-321-19433-0
37
Contact Information
Greg Paskal (214)550-7315 greg.paskal@fedexkinkos.com www.GregPaskal.com Greg@GregPaskal.com
Please feel free to contact me regarding your usage of METS and any suggestions you may have for improving it’s usefulness.
www.GregPaskal.com/METS