BugDay2012 Test Design with CTE XL(TrainingDay)

1,776 views

Published on

Test Design with CTE XL(TrainingDay) @BugDay2012

Published in: Technology, Business
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
1,776
On SlideShare
0
From Embeds
0
Number of Embeds
503
Actions
Shares
0
Downloads
0
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

BugDay2012 Test Design with CTE XL(TrainingDay)

  1. 1. Test Design with CTEXL BugDay 2012 By WELOVEBUG.COM May 13,2012 | Chatwilai K.
  2. 2. Test Design with CTEXLeverybody should Speak! Rules
  3. 3. Test Design with CTEXLask someQuestions! dont be Shy! Rules
  4. 4. What is CTE XLs Classification-Tree Editor eXtended Logicss Download site: http://www.berner-mattner.com/en/berner- mattner-home/products/cte/download.html
  5. 5. XYZ MallA hotel telephone system can perform 3 functionss Customers of type A: receive a 0% discount for less than 10 items, 5% discount for 10 to 99 items, 10% discount for 100 or more items.s Customers of type B: receive a 5% discount for less than 15 items, 25% discount for 10 to 99 items, 10% discount for 100 or more items.s Customers of type C: receive a 0% discount for less than 20 items, 25% discount for 10 to 99 items, 10% discount for 100 or more items.Write set of test cases this telephone system.
  6. 6. Exercise (Date)Write set of test cases this system.
  7. 7. Lift go to floor (1) Black Floor level indicator Go to floor Box Current floor sensor Lift control Overload sensor Life ControlWrite set of test cases this lift go to floor
  8. 8. Lift go to floor (2)Floorsmallest lowest ground top tallest number floor floor floor buildingOverload sensor True FalseLift control Ascend Decend Stop
  9. 9. Lift go to floor (3) Partition Value Lower Boundary Upper Boundary 1 Go to floor smallest number lowest floor 2 lowest floor ground floor 3 ground floor top floor 4 top floor tallest building 5 Current floor smallest number lowest floor 6 lowest floor ground floor 7 ground floor top floor 8 top floor tallest building 9 Overload sensor TRUE 10 FALSE 11 Lift control Ascend 12 Descend 13 Stop
  10. 10. Hotel (1) Record Reservation Check in Record Check In Record Walk-in Check in Enter the guest’s Record Check Out room number to calculates the room chargeBusiness Rule:-s Number of nights = today’s date – check in dates Charge = number of night X room rates Normal check outs time is 12pms Late check outs must be before 6pm
  11. 11. Points System(1)
  12. 12. Points System(2)ABC Mall Points RewardsMain Scenarios Customer gets points after login to purchase.s Customer gets points when paid and confirm to pay that items already within 10 days.s Every 25 Baht spent , customer will earn 1 point.s Customer will see the points that will get on the Confirmation Step of Shopping Cart.Alternative Scenarios Buy item with out login at step 1 • Customer can’t get any point.s If customer cancel order at step 2 • Customer can’t get any point. • System deduces the all Tentative Points from Customer.s Customer to pay more than 10 days after purchase. at step 2 • Customer can’t get any point. • System deduces the all Tentative Points from Customer.
  13. 13. Points System(3)ABC Mall Points RewardsBusiness Ruless Customer can get points unlimited per transactions Total prices = Total prices of product + Shipping Fees Number of points = Total prices of product / 25s If balance prices is less than 25 Baht will not receive points.s Total Points = Fixed Points + Tentative Pointss After customer click to checkout, the system will be show Tentative Pointss After customer paid and confirm to pay , the system will be change Tentative Points to Fixed Pointss Customer gets points when paid and confirm to pay that items already within 10 days.
  14. 14. Points System(4)Test Case Coverage Matrix Test Cases Use Case Scenario TC01 TC02 TC03 TC04 TC05 TC06Login Yes X X X X No X XShipping Fee Free shipping (0 Baht) X X X Have shipping fee X XTransaction Status Paid X X X X Cancel X XPay period (From order date) Within 10 days X X X More than 10 days X
  15. 15. Grades System(1)
  16. 16. Grades System(2)Record and update grades of studentsMain Scenarios A teacher can record grades. Whenever grades are recorded, they are also saved to database.s A teacher can update grades. Whenever grades are updated, the existing grade is loaded. Then the updated grade is saved to database.s A teacher and/or a student can view grades.s Whenever any of these people view grades, they must always log on to the system.s A teacher can distribute report cards.Alternative Scenarios No matching class at step 1 • They can’t record or update grades, A teacher can record or update grades in class taught by them only.s If their log on fails at step 1 • they must re-authenticate their user name and passwords If A teacher update grades in class that closed • A teacher can view grades only.
  17. 17. Grades System(3)Record and update grades of studentsBusiness Ruless User level has 2 group are teacher and student.s A teacher can view, record, update and distribute report cards.s A student can view grades only.s Users must always log on to the system before.s A teacher can record and/or update grades within the term or period.s A teacher can record or update grades in class taught by them only.
  18. 18. Grades System(4)Test Case Coverage Matrixmatrix Test case coverage Test Cases Use Case Scenario TC01 TC02 TC03 TC04 TC05 TC06 TC07 TC08 TC09 TC10Login Yes X X X X X X X X X No XUser level Teacher X X X X X Student X X XAction View X X Record X X X Update X X X Distribute report X XClass Matching X X X X X X X No matching X X X X X XPeriod Within period X X X X X X X X X Out of period X X X X X X X
  19. 19. Living life as a Software Tester Conclusion
  20. 20. Living life as a Software Tester“quality in every phase not afterthought” “Quality assurance is a process not a department, Sometimes is a counter productivity” Quote of the day
  21. 21. Living life as a Software Tester email Chatwilai.k@gmail.com msn aeyzip@hotmail.com blog www.welovebug.com [@iamjaae]twitter @iamjaae Keep in touch
  22. 22. thanks you

×