SlideShare a Scribd company logo
1 of 22
Test Design with CTEXL


      BugDay 2012 By WELOVEBUG.COM
        May 13,2012 | Chatwilai K.
Test Design with CTEXL




everybody should

            Speak!

           Rules
Test Design with CTEXL


ask some

Questions!
                      don't be

                   Shy!
           Rules
What is CTE XL
s   Classification-Tree Editor eXtended Logics
s   Download site: http://www.berner-mattner.com/en/berner-
    mattner-home/products/cte/download.html
XYZ Mall
A hotel telephone system can perform 3 functions
s   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.
Exercise (Date)




Write set of test cases this system.
Lift go to floor (1)


                             Black                    Floor level indicator
    Go to floor
                              Box

      Current floor sensor
                                       Lift control
          Overload sensor


                              Life
                             Control


Write set of test cases this lift go to floor
Lift go to floor (2)
Floor
smallest            lowest            ground           top    tallest
 number              floor             floor          floor   building




Overload sensor
           True              False




Lift control
           Ascend            Decend            Stop
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
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
                                                              charge

Business Rule:-
s    Number of nights = today’s date – check in date
s    Charge = number of night X room rate
s    Normal check outs time is 12pm
s    Late check outs must be before 6pm
Points System(1)
Points System(2)
ABC Mall Points Rewards
Main Scenario
s   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 Scenario
s   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.
Points System(3)
ABC Mall Points Rewards
Business Rules
s   Customer can get points unlimited per transaction
s   Total prices = Total prices of product + Shipping Fee
s   Number of points = Total prices of product / 25
s   If balance prices is less than 25 Baht will not receive points.
s   Total Points = Fixed Points + Tentative Points
s   After customer click to checkout, the system will be show Tentative Points
s   After customer paid and confirm to pay , the system will be change Tentative Points to Fixed
    Points
s   Customer gets points when paid and confirm to pay that items already within 10 days.
Points System(4)

Test Case Coverage Matrix
                                                                      Test Cases

        Use Case                          Scenario      TC01   TC02   TC03   TC04   TC05   TC06
Login                          Yes                       X      X      X       X
                               No                                                    X      X
Shipping Fee                   Free shipping (0 Baht)    X             X             X
                               Have shipping fee                X                           X
Transaction Status             Paid                      X      X      X             X
                               Cancel                                          X            X
Pay period (From order date)   Within 10 days            X      X                    X
                               More than 10 days                       X
Grades System(1)
Grades System(2)
Record and update grades of students
Main Scenario
s   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 Scenario
s   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 password
s   If A teacher update grades in class that closed
      •     A teacher can view grades only.
Grades System(3)
Record and update grades of students
Business Rules
s   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.
Grades System(4)
Test Case Coverage Matrixmatrix
  Test case coverage
                                                             Test Cases

 Use Case           Scenario     TC01   TC02   TC03   TC04   TC05   TC06   TC07   TC08   TC09   TC10

Login        Yes                  X      X      X      X      X      X      X      X      X
             No                                                                                  X
User level   Teacher              X      X      X      X      X
             Student                                                 X      X      X
Action       View                                             X      X
             Record               X             X                           X
             Update                      X             X                           X
             Distribute report                                X                           X
Class        Matching             X      X                    X      X      X      X      X
             No matching                        X      X      X             X      X      X
Period       Within period        X      X      X      X      X      X      X      X      X
             Out of period                      X      X      X      X      X      X      X
Living life as a Software Tester




 Conclusion
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
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
thanks
  you

More Related Content

Recently uploaded

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

BugDay2012 Test Design with CTE XL(TrainingDay)

  • 1. Test Design with CTEXL BugDay 2012 By WELOVEBUG.COM May 13,2012 | Chatwilai K.
  • 2. Test Design with CTEXL everybody should Speak! Rules
  • 3. Test Design with CTEXL ask some Questions! don't be Shy! Rules
  • 4. What is CTE XL s Classification-Tree Editor eXtended Logics s Download site: http://www.berner-mattner.com/en/berner- mattner-home/products/cte/download.html
  • 5. XYZ Mall A hotel telephone system can perform 3 functions s 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. Exercise (Date) Write set of test cases this system.
  • 7. Lift go to floor (1) Black Floor level indicator Go to floor Box Current floor sensor Lift control Overload sensor Life Control Write set of test cases this lift go to floor
  • 8. Lift go to floor (2) Floor smallest lowest ground top tallest number floor floor floor building Overload sensor True False Lift control Ascend Decend Stop
  • 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. 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 charge Business Rule:- s Number of nights = today’s date – check in date s Charge = number of night X room rate s Normal check outs time is 12pm s Late check outs must be before 6pm
  • 12. Points System(2) ABC Mall Points Rewards Main Scenario s 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 Scenario s 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. Points System(3) ABC Mall Points Rewards Business Rules s Customer can get points unlimited per transaction s Total prices = Total prices of product + Shipping Fee s Number of points = Total prices of product / 25 s If balance prices is less than 25 Baht will not receive points. s Total Points = Fixed Points + Tentative Points s After customer click to checkout, the system will be show Tentative Points s After customer paid and confirm to pay , the system will be change Tentative Points to Fixed Points s Customer gets points when paid and confirm to pay that items already within 10 days.
  • 14. Points System(4) Test Case Coverage Matrix Test Cases Use Case Scenario TC01 TC02 TC03 TC04 TC05 TC06 Login Yes X X X X No X X Shipping Fee Free shipping (0 Baht) X X X Have shipping fee X X Transaction Status Paid X X X X Cancel X X Pay period (From order date) Within 10 days X X X More than 10 days X
  • 16. Grades System(2) Record and update grades of students Main Scenario s 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 Scenario s 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 password s If A teacher update grades in class that closed • A teacher can view grades only.
  • 17. Grades System(3) Record and update grades of students Business Rules s 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. Grades System(4) Test Case Coverage Matrixmatrix Test case coverage Test Cases Use Case Scenario TC01 TC02 TC03 TC04 TC05 TC06 TC07 TC08 TC09 TC10 Login Yes X X X X X X X X X No X User level Teacher X X X X X Student X X X Action View X X Record X X X Update X X X Distribute report X X Class Matching X X X X X X X No matching X X X X X X Period Within period X X X X X X X X X Out of period X X X X X X X
  • 19. Living life as a Software Tester Conclusion
  • 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. 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