EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login
Home Software Development Software Development Tutorials Software Testing Tutorial Domain Testing
Secondary Sidebar
Software Testing Tutorial
  • Types of Testing
    • Adhoc Testing
    • Types of System Testing
    • Manual Testing Types
    • Unit Testing Types
    • Unit Testing Benefits
    • Agile Testing
    • What is Agile Testing
    • Acceptance Testing
    • Stress Testing Types
    • Alpha and Beta Testing
    • Application Testing
    • Automation Testing
    • Automation Testing Advantages
    • Benchmark Testing
    • Black Box Testing
    • Domain Testing
    • Dynamic Testing
    • Ecommerce Testing
    • Fuzz Testing
    • Gray Box Testing
    • GUI Testing
    • Installation Testing
    • Interface Testing
    • Interoperability Testing
    • Mainframe Testing
    • Manual Testing
    • Mutation Testing
    • Monkey Testing
    • Negative Testing
    • Penetration Testing
    • Penetration testing phases
    • Penetration testing framework
    • Protocol Testing
    • Recovery Testing
    • Regression Testing
    • Mobile Penetration Testing
    • Accessibility Testing
    • Sanity Testing
    • Scalability Testing
    • Security Testing
    • Spike Testing
    • Stability Testing
    • State Transition Testing
    • Static Testing
    • Gatling Load Testing
    • System Integration Testing
    • Structural Testing
    • Locust Load Testing
    • System Testing
    • Control Flow Testing
    • Unit Testing
    • Cypress testing
    • Volume Testing
    • Web Testing Application
    • What is Exploratory Testing
    • What is Stress Testing
    • What is Usability Testing
    • White Box Testing
    • Types of White Box Testing
    • Compatibility Testing?
    • Use Case Testing
    • Beta Testing
    • Integration Testing
    • Non Functional Testing
    • Non Functional Testing Types
    • What is Functional Testing
    • Functional testing types
    • Cookie Testing
    • Alpha Testing
    • Boundary Value Testing
    • Equivalence Class Testing
    • Glass Box Testing
    • SOA Testing
    • Smoke Testing
    • Visual Testing
    • Visual Paradigm
    • Model-Based Testing
  • Basics
    • What is Software Testing
    • Careers in Software Testing
    • Defect Life Cycle in Software Testing
    • Bug Life Cycle
    • Levels of Software Testing
    • Software Testing Life Cycle
    • Software Tester Work
    • Software Testing Principles
    • Software Testing Services
    • Testing Methodologies
    • Test Approaches
    • Grey Box Testing
    • Types of Software Testing
    • What is a Bug in Software Testing
    • Benefits of Automation Testing
    • What is Automation Testing?
    • Types of Automation
    • Typical Journey of a Software Tester
    • Automation Testing Process
    • Mobile Automation Testing
    • Automation Testing Life Cycle
    • Software Quality Assurance
    • Software Quality Assurance
    • What is Test Environment?
    • Verification and Validation Testing
  • Testing techniques
    • Software Testing Methodologies
    • Black Box Testing Techniques
    • Static Testing Techniques
    • Test Case Design Techniques
    • What is Static Analysis
  • Testing tools
    • Manual Testing Tools
    • Visual Testing Tools
    • Automation Testing Tools
    • Functional Testing Tools
    • GUI Testing Tools
    • Penetration Testing Tools
    • Performance Testing Tools
    • SOA Testing Tools
    • Accessibility Testing Tools
    • What is QTP
    • Regression Testing Tools
    • Security Testing Tools
    • Test Management Tools
    • Defect Management Tools
    • Code Coverage Tools
    • Test Coverage Tools
    • Defect Tracking Tools
    • Continuous Integration Tools
    • Install Bugzilla
    • Test data generation tool
    • Unit Testing Tools
    • Web Testing Tools
    • Stress Testing Tools
    • Performance Monitoring Tools
    • Mobile Testing Tools
    • Responsive Testing Tool
    • Cross Browser Testing Tools
    • Risk Based Testing
    • Database Testing Tools
    • WinRunner
    • What is Squish?
    • CubicTest
    • What is WinRM?
    • Bugzilla Tool
    • Code review tools
    • Penetration Testing Open Source Tools
  • Advance
    • Cyclomatic Complexity
    • Decision Table Testing
    • Decision Tree Algorithm
    • What is Continuous Integration
    • Mantis Bug Tracker
    • Equivalence Partitioning
    • Gantt Chart Software
    • Acceptance Testing Types
    • Load testing tools
    • Install TestNG
    • Install Unity
    • Defect Management Process
    • Test Plan Template
    • Testing Interview Questions
    • Testing of Mobile application
    • What is Test Automation Frameworks
    • Test Automation Framework
    • Application of Automation
    • Test Automation Process
    • Automation Testing Roles and Responsibilities
    • What is Instruction Cycle?
    • What is Cucumber?
    • 15 Best Popular Bug Reporting Tools
    • What is Automated Testing?
    • Software Maintenance Types
    • Types of Penetration Testing
    • Software Reliability
    • Best Gantt Chart Software
    • Code Coverage
    • Branch Coverage
    • Decision Coverage
    • Statement Coverage
    • What is Test Case
    • Types of Test Case
    • What is Test Scenario
    • Formal Review
    • Alpha Beta Pruning
    • What is Cyclomatic Complexity?
    • Test Coverage
    • How to Write Test Case
    • Testing Documentation
    • Performance Testing Life Cycle
    • Test Harness
    • Test Strategy
    • Software Incident Management
    • What is Debugging
    • What is Defect?
    • Listeners in TestNG
  • Inteview Questions
    • Automation Testing Interview Questions
    • Manual Testing Interview Questions
    • ISTQB Interview Questions
    • Cucumber Interview Questions
    • Software Testing Interview Questions
    • Penetration Testing Interview Questions

Related Courses

Software Testing Course

Penetration Training Course

TestNG Training Course

Domain Testing

By Priya PedamkarPriya Pedamkar

Domain Testing

Introduction to Domain Testing

Domain Testing is a software testing technique in which application is tested by providing input data and verification of relevant output. Domain testing also called equivalence testing or boundary analysis testing. In domain testing, testing takes place with the minimum number of input data so that the application does not allow invalid and out of range data and evaluate the expected range of output. Domain testing ensures that an application does not have input data outside the mentioned valid range. This testing process is used to verify the application for its ability to react or operate for different variety of input values.

Top 4 Strategies of Domain Testing

Now let’s discuss the domain testing strategy:

It is divided into sub-domains. After that application considered for domain testing along with sub-domain, in that, single or combination of input data tested through sub-domains. It provides simplification of complex scenarios as domain partitioned into sub-domain. The test conducted at the boundaries of the sub-domain is called Boundary Value Analysis (BVA). When the test conditions are divided into sets or groups of tests, then it named Equivalence Class testing. Domain tester needs to understand about the domain in detail.

1. Domain Selection

The domain which has less complex functionality can be considered domain testing. In the application, there will be input variables that need to be assigned, and the proper result has to be verified.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

2. Group the Input Data into Classes

A similar type of input data is partitioned into subsets. There are two types of partitioning, Equivalence class partitioning & Boundary value analysis (BVA). Equivalence class partitioning splits the input into equivalent data partitions to determine test cases. Here, the test cases are designed in such a way that each partition is covered for once. In Boundary value analysis (BVA) testing, test cases are designed considering boundary values invalid range.

All in One Software Development Bundle(600+ Courses, 50+ projects)
Python TutorialC SharpJavaJavaScript
C Plus PlusSoftware TestingSQLKali Linux
Price
View Courses
600+ Online Courses | 50+ projects | 3000+ Hours | Verifiable Certificates | Lifetime Access
4.6 (86,697 ratings)

3. Input Data of the Classes for Testing

The boundary values should be considered as the data for testing. Boundaries represent the equivalence classes more likely to find an error than the other class members. A data in between the range is the best representative of an equivalence class.

4. Verification of Output Data

When input data is assigned to application concerning that output data verified. Output data should be invalid and specified range.

Examples of Domain Testing

Let’s consider two scenarios as an example:

1. A Test Data with Single Input

Consider x & y are the input variable for any expression and variable z is the output. Here, an expression is a single input scenario that includes variable x & y, hence there is no combination input variable.

Expression examples:  (z =x + y) or (z= x-y) or (z= x*y) or (z=x/y) etc.

2. A Test with Multiple Input Variable

In this example, multiple or combinations of input variables are tested concerning the appropriate output. Let’s consider a School Management application for children grading system, concerning their grading system classes are assigned to them.

According to the above test conditions below scenarios can be determined:

  • Scenario1: Student scores > 80 & <=100, with Science subject should be in class A.
  • Scenario2: Student scores > 80 & <=100, with Accounts subject should be in class B.
  • Scenario3: Student scores < =80 & >65, Science subject should be in class C.
  • Scenario4: Student scores < =80 & >65, Accounts subject should be in class D.
  • Scenario5: Student scores < =65 & >50, Science subject should be in class E.
  • Scenario6: Student scores < =65 & >50, Accounts subject should be in class F.
  • Scenario7: Student scores < =50, Science subject should be in class G.
  • Scenario8: Student scores < =50, Accounts subject should be in class H.

Here, in the above example, the input will be Marks & Subject, concerning those classes that will be allocated. This case is of the partition of inputs or grouping of input values. The scored marks range are partitioned into the following classes:

  • Class 1: Students who scored > 80 & <100.
  • Class 2: Students who scored <=80 & >65.
  • Class 3: Students who scored <=65 & >50.
  • Class 4: Students who scored <=50.

The boundary values should be considered as the data for testing, boundaries represent the equivalence classes that aim to find an error or bug than other class members. A data in between the range is the best representative of an equivalence class. For each class mentioned above, the test required.

For Class 1, students who scored above 80 (marks> 80 & marks <=100).

Boundary values:

  • Marks 80 should not be considered in this class, as values should be greater than 80.
  • Marks 81 should be considered in this class, as values should be greater than 80.
  • Marks 100 should be considered in this class, as values should be lesser than 100 or equal to 100.
  • Marks 101 should not be considered in this class, as values should be lesser than 100 or equal to 100.

Equivalence partition Values: The input values from 81 to 100 are valid, hence one of the values between 81, 82, 83 upto100 have to be included. Hence the selected marks “90” are valid marks for this class.

Verification of Output Data

Here from each partition, only one test condition is executed. If one test condition works correctly in a partition, then all the remaining test conditions should work correctly. And, if one test condition in the partition doesn’t run correctly then it is assumed that no other conditions will work correctly.

Structure of Domain Testing

The structure is explained below:

  • Analyze the application concerning the domain.
  • Find out valid input variables.
  • Concerning output find, analyze input variables and sort them.
  • Concerning BVA & Equivalence partition analysis create/find input variables.
  • Find and analyze output variables concerning input variables.
  • Find unanalyzed input variables. Collect information for further evaluation.
  • Summarize whole test analysis concerning risk tables.

Conclusion

It is a software testing technique, that requires basic knowledge in the domain to test with the right input to effectuate the necessary output. Domain needs to be divided into sub-domains to perform effectively. It is also termed as equivalence testing or boundary analysis testing, where input variables analyzed and identify as boundary values and equivalence class values to achieve the expected result.

Recommended Articles

This is a guide to Domain Testing. Here we discuss Introduction to Domain Testing and its Testing Strategy, as well as structure with Example. You can also go through our other suggested articles to learn more –

  1. Levels of Software Testing
  2. Manual Testing
  3. What is Test Case?
  4. Manual Testing vs Automation Testing
Popular Course in this category
Software Testing Training (11 Courses, 2 Projects)
  11 Online Courses |  2 Hands-on Projects |  65+ Hours |  Verifiable Certificate of Completion
4.5
Price

View Course

Related Courses

Penetration Testing Training Program (2 Courses)4.9
TestNG Training (4 Courses, 2 Project)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Software Development Course

C# Programming, Conditional Constructs, Loops, Arrays, OOPS Concept

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more