Professional Documents
Culture Documents
VIP - Leveraging HP Business Process Testing
VIP - Leveraging HP Business Process Testing
Topics to be Covered
Overview - Business Process Testing Review Existing Database Driven Test Suite Business Case for Upgrading to BPT/QTP Building the New BPT/QTP Solution Add BPT Data-Driving Component Lessons Learned
2 of 48
Bakery
Entrance
Produce
CheckOut
Dairy
Meats/Deli
Grocery Store is made up of components: Entrance Check Out Meats/Deli Exit Dry Goods Dairy Bakery Produce Frozen Foods
Frozen Foods
Exit
Some components must be processed in a specific order: Entrance Check Out Exit 4 of 48
Components
Can be Manual, WinRunner, QuickTest Professional Modular (Self Contained) Log in, Input Data, Log out Input and/or Output Parameters Drag-and-drop into BPT Test Cases
5 of 48
Inputs
Outputs
6 of 48
Data Consumed by Component Provided by Quality Center Users Output Parameters from Another Component
Output Parameters
Derived in the Component Script Pass Through (Set Output Parameter = Input Parameter)
7 of 48
Input Parameters
8 of 48
Dairy
Dry Goods
Produce
Bakery
CheckOut
Entrance
Exit
9 of 48
Dry Goods
Produce
Bakery
CheckOut
Entrance
Exit
10 of 48
Reuse Components
Different Shopping Path 1. Entrance 2. Produce 3. Dry Goods 4. Frozen Foods 5. Dairy 6. Dry Goods (Again) 7. Check Out 8. Exit
Meats/Deli Frozen Foods Dairy
Dry Goods
Produce
Bakery
CheckOut
Entrance
Exit
11 of 48
Retrieve Report
Logout
12 of 48
14 of 48
Driving Scripts
Access
Keep Existing Regression Tests Quickly Test Flexible Logical Flows Use Automation, but Non-Technical Testers Ensure Ease of Test Suite Maintenance as Application Evolves
17 of 48
AUT Redesigned
New ASP.NET User Interface 12 Tabs Red Denotes Possible Business Scenario EndPoints New Application Under Test :
Tab 1a Tab 2 Tab 1b Tab 3 Tab 4 Tab 5b Tab 5a
Tab 6a Tab 6b
Tab 7a Tab 7b
2. Create QTP Automation for New BPT Components 3. Drag and Drop Component(s) into Test Case Templates
21 of 48
Tab 5a
Tab 1b
Tab 5b
Tab 6a Tab 6b
Tab 7a Tab 7b
22 of 48
7 Input Parameters
0 Output Parameters
23 of 48
24 of 48
25 of 48
26 of 48
27 of 48
28 of 48
BPT
BPT
Access
BPT
Decision Engine
30 of 48
31 of 48
32 of 48
3.
4. 5.
6.
33 of 48
34 of 48
35 of 48
36 of 48
37 of 48
38 of 48
39 of 48
40 of 48
41 of 48
Data-Driver Complete
Done! Copy and Paste the Template as Many Times as Needed Change Test Name Input Parameter on the Data-Driver Component to Retrieve Different Test Case.
42 of 48
Lessons Learned
43 of 48
Two Implementations
Regression Testing
1 Test Case Template 350 Test Cases from MS Access
44 of 48
45 of 48
46 of 48
Summary
Reviewed Business Process Testing Discussed Existing Database Driven Test Suite Explained Business Case for Upgrading to BPT/QTP Described Building the New BPT/QTP Solution Demonstrated How to Add BPT Data-Driving Component Discussed Lessons Learned
47 of 48
Questions ?
48 of 48