Skip to content

Iptv Assist

Learn More from us

Menu
  • HOW TO
  • Firestick
  • Chromecast
  • PC Apps
  • Lg Smart TV
  • IPTV Services
  • Automation Testing
  • Smart TV
  • Software Testing Tools
  • Contact Us
Menu

How to Write Complex Business Logic Test Scenarios Using Decision Table Technique

Posted on January 22, 2023

Best Iptv Service Provider 2023 With 40k+ Channels And 100k+ VOD . 24/7 Suppport . Paypal Supported

Decision Table Testing is an easy and confident approach to identify the test scenarios for complex Business Logic.

Best Iptv Service Provider 2023 With 40k+ Channels And 150k+ VOD . Hurry Up

There are several test case design techniques. In this article, we will learn how to use the Decision Table technique effectively to write test cases for an application with complex Business Logic.

Recommended IPTV Service Providers

  1. IPTVGREAT – Rating 4.8/5 ( 600+ Reviews )
  2. IPTVRESALE – Rating 5/5 ( 200+ Reviews )
  3. IPTVGANG – Rating 4.7/5 ( 1200+ Reviews )
  4. IPTVUNLOCK – Rating 5/5 ( 65 Reviews )
  5. IPTVFOLLOW -Rating 5/5 ( 48 Reviews )
  6. IPTVTOPS – Rating 5/5 ( 43 Reviews )

 

Here is an illustration:

We all know that the rules and validations of business take up a major portion of the requirements given by the customers. While observing how these requirements are represented and communicated to the entire project team by Business Analysts or customers, we come to know that most of such business rules and logic and are presented in a logical process flow diagram.

Writing Test Scenario Using Decision Table Technique

A logical process Flow diagram for a complex requirement comprises of many branches, nodes, and decision boxes. Hopefully, we testers are expected to cover all those branches and touch every nook and corner of such a complex logical tree. I have also faced such complex business flows and tried many test case/test scenario preparation techniques for making the process easier.

Finally, I found the Decision Table Testing technique to be highly useful in this aspect. Here is how a Decision Table technique can make the test scenario preparation for complex Business Logic easier.

Example: Writing Test cases for a login screen using the Decision Table Technique:

Let’s take a Decision Table example of below business requirement for a login screen.

Decision table testing

Fig: 1.0 Sample business flow diagram

The first step we do is to name all the branches and leave with numbers or alphabets as below.

1, 2, 3 are the leaves and a, b & c are the branches.

Then, we have to create a Decision table as shown below: (Click to enlarge image)

Decision table testing 1

Fig 1.1 Decision table for business flow fig 1.0

What You Will Learn:

  • Points to Remember
  • Advantages Of Using Decision Table Technique
  • Limitations Of Using Decision Table Technique
  • Other Test Case Design Techniques
  • Conclusion

Points to Remember

  • All the validations specified in the decision boxes should be made of the columns on the table.
  • All the results (leaves) mentioned in the flow diagram should be covered in the decision table.
  • All combinations of inputs needed to obtain a certain result shall be mentioned in the combinations column and can be included while writing the test cases.
  • After completing the Decision table, one has to just verify whether all the branches and leaves in the logical tree are covered.

Advantages Of Using Decision Table Technique

#1) Any complex Business flow represented as a diagram can be easily covered in this technique.
#2) It provides quick confidence on the test cases. One need not have to review his own test cases multiple times to gain confidence.
#3) Easy to understand. Anyone can make test cases from this Decision table template.
#4) Rework on the test cases and test scenarios can be totally avoided, as it gives complete coverage at the first shot.

Limitations Of Using Decision Table Technique

#1) Certain test case preparation techniques like Boundary value analysis, Equivalence partitioning cannot be directly accommodated in this template. But, one can note it down in the combinations column and use them while writing test cases.

Before explaining why other test case writing techniques cannot assure as much accuracy as Decision tables, I would like to quickly remind other Black box and White box test case writing techniques.

Other Test Case Design Techniques

#1) Boundary Value Analysis is a Software Testing technique in which test cases are designed to include representatives of boundary values in and out of a given range.

#2) Equivalence Partitioning also, called Equivalence Class Partitioning is a Software Testing technique that divides the given condition into partitions and one input data from each partition can be chosen for testing.

#3) State Transition testing is a black-box testing technique, which can be used to design test cases for a system that acquires a finite number of states and can transit from one state to another upon specific events.

#4) Error Guessing is a technique where the experience of a tester is used to find the errors or part of an application with the highest possibility of finding errors. This is a skill-based technique without any rules.

#5) Use Case testing In this technique, use cases/scenarios are used to write the test cases. The interaction of users and systems is described in a use case.

Some more Test Design techniques:

#6) Statement coverage
#7) Condition Coverage
#8) Exploratory testing

Why can’t other test case design techniques for Business logic prove to be useful as Decision Tables?

#1) Boundary Value Analysis and Equivalence class partitioning is meant for numeric ranges and length. Both of these techniques alone cannot ensure 100% Test Coverage for business rules.

#2) Error Guessing is more about the experience. Though experience is required, it cannot prove to be everything.

#3) With the State Transition testing technique, one can ensure that all parts of the logical tree are covered but it does not suggest document or artifact as Decision Table technique ensures coverage with a decision table (fig 1.1).

Conclusion

For writing test cases for business logic, it is advisable to follow the below steps to prepare test cases so as to ensure maximum Test Coverage:

Step #1) Use a Decision Table test case design technique to attain 100% logical coverage.
Step #2) Boundary Value Analysis and Equivalence partitioning for covering various ranges of inputs.
Step #3) Combinations and permutations for field level validations (though not all permutations are required).
Step #4) Error guessing (apart from the errors that can be identified from the above three steps) with experience as a final touch

With the right combination of all these techniques, I hope you will be able to discover almost all test scenarios for any application under test.

About the author: Hari Narayan is a software testing professional with more than 3 years of work experience in writing test scenarios for complex Business Logic. He is currently working with Plintron Global Technologies.

Let us know which test case design technique you use most often on your project? And which is the best method according to your experience?

Feel free to share your valuable comments/suggestions about this article.

Related

Best Iptv Service Provider 2023 With 40k+ Channels And 150k+ VOD . Hurry Up

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • IPTV List: Best iptv lista 2023
  • IPTV Premium: Best Premium IPTV Service Provider List And Benefits
  • Nikon IPTV Review: Over 10,000 Live Channels for $12/Month
  • Iptvwings. Com Review: +18000 Live IPTV Channels ,+70000 Movies, +40000 TV show For $15/1 month
  • IPTVUNO Review: More Than 16000 Live TV channels, 55,000 Movies & VOD For $15/Month

Recent Comments

  1. IPTV List: Play lista iptv 2022 - Iptv Assist on Best IPTV Player in 2023 for Watching Live TV
  2. Cola IPTV – Over 18,000 Live Channels for $12/Month - Iptv Assist on FileLinked – How to Install on Firestick/Fire TV and Android Devices
  3. Cola IPTV – Over 18,000 Live Channels for $12/Month - Iptv Assist on 50+ Best IPTV Service Providers for Streaming Live TV 2023
  4. XoomsTV IPTV – Over 11,000 Channels & VOD for Under $13/Month on Best VPN for IPTV in 2023 and How to Install on Firestick/Android
  5. Voodoo Streams IPTV Review – Over 12,000 Channels for $11/Month - Iptv Assist on Dynasty TV IPTV Review – Over 6,000 Channels for $10/Month

Archives

  • January 2023

Categories

  • Activate
  • Agile Testing
  • Alternatives
  • Android
  • APK
  • Apple TV
  • Automation Testing
  • Basics of Software Testing
  • Best Apps
  • Breakfast Hours
  • Bug Defect tracking
  • Career in Software Testing
  • Chromebook
  • Chromecast
  • Cross Platform
  • Database Testing
  • Delete Account
  • Discord
  • Error Code
  • Firestick
  • Gaming
  • General
  • Google TV
  • Hisense Smart TV
  • HOW TO
  • Interview Questions
  • iPhone
  • IPTV
  • IPTV Apps
  • Iptv Service SP
  • IPTV Services
  • JVC Smart TV
  • Kodi
  • Lg Smart TV
  • Manual Testing
  • MI TV
  • Mobile Testing
  • Mod APK
  • newestiptv.com
  • News
  • Nintendo Switch
  • Panasonic Smart TV
  • PC Apps
  • Performance Testing
  • Philips Smart TV
  • PS4
  • PS5
  • Python
  • QA Certifications
  • QA Leadership
  • QA Team Skills
  • Quality Assurance
  • Reddit
  • Reviews
  • Roku
  • Samsung Smart TV
  • Screenshot
  • Selenium Tutorials
  • Sharp Smart TV
  • Skyworth Smart TV
  • Smart TV
  • Soft Skills For Testers
  • Software Testing Templates
  • Software Testing Tools
  • Software Testing Training
  • Sony Smart TV
  • Sports
  • Streaming Apps
  • Streaming Devices
  • Tech News
  • Test Management Tools
  • Test Strategy
  • Testing Best Practices
  • Testing Concepts
  • Testing Methodologies
  • Testing News
  • Testing Skill Improvement
  • Testing Tips and Resources
  • Toshiba Smart TV
  • Tutorials
  • Twitch
  • Types of Testing
  • Uncategorized
  • Vizio Smart TV
  • VPN
  • Web Testing
  • What is
  • Xbox
©2023 Iptv Assist | Design: Newspaperly WordPress Theme