Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Home > Knowledge Center > Flamboyant Topics > Black Box Testing > Tutorial-6 To Generate Equivalence Class Test Cases-For the Triangle Problem

Tutorial-6 To Generate Equivalence Class Test Cases-For the Triangle Problem

Sign up to receive Regular updates via email or RSS!

Type your email address and press Enter

Download Free eBooks

Download Several World-Class eBooks on "Software Testing" and "Quality Assurance" Absolutely Free of Cost!!!


Quick Links

  • Free Updates
  • Write & Earn
  • Quick Navigation Sitemap
  • ISTQB Certification
  • QTP Certifications

Advertisements

Tutorial-6 To Generate Equivalence Class Test Cases-For the Triangle Problem

Posted in: Leave a comment

Tutorial-6: To Generate Equivalence Class Test Cases-For the Triangle Problem

“The triangle program takes three integers, a, b and c as input. These are taken to be the sides of the triangle.

The output of the program can be either of: Equilateral Triangle, Isosceles Triangle, Scalene or “Not a Triangle”.

We can use these to identify output (range) equivalence classes as under:

01 = {<a, c=”” b,=””> : the triangle is equilateral}
</a,>

02 = {<a, c=”” b,=””> : the triangle is isosceles}
</a,>

03 = {<a, c=”” b,=””> : the triangle is scalene}
</a,>

04 = {<a, c=”” b,=””> : sides a, b and c do not form a triangle}</a,>

Objective of this Tutorial: To apply the four techniques of equivalence class partitioning one by one & generate appropriate test cases?

 

1) Weak Normal Equivalence Class: The four weak normal equivalence class test cases can be defined as under

Test Case ID Side “a” Side “b” Side “c” Expected Output
WN1 5 5 5 Equilateral Triangle
WN2 2 2 3 Isosceles Triangle
WN3 3 4 5 Scalene Triangle
WN4 4 1 2 Not a Triangle

2) Strong Normal Equivalence Class: Since no valid subintervals of variables a, b and c exist, so the strong normal equivalence class test cases are identical to the weak normal equivalence class test cases.

3) Weak Robust Equivalence Class: Considering the invalid values for a, b and c yields the following additional weak robust equivalence class test cases

Test Case ID Side “a” Side “b” Side “c” Expected Output
WR1 1 5 5 Invalid Value of a
WR2 5 -1 5 Invalid Value of b
WR3 5 5 -1 Invalid Value of c
WR4 201 5 5 Out of Range Value of a
WR5 5 201 5 Out of Range Value of a
WR6 5 5 201 Out of Range Value of a

4) Strong Robust Equivalence Class: Test Cases falling under this category are

 

Test Case ID Side “a” Side “b” Side “c” Expected Output
SR1 -1 5 5 Invalid Value of a
SR2 5 -1 5 Invalid Value of b
SR3 5 5 -1 Invalid Value of c
SR4 -1 -1 5 Invalid Value of a & b
SR5 5 -1 -1 Invalid Value of b & c
SR6 -1 5 -1 Invalid Value of a & c
SR7 -1 -1 -1 Invalid Value of a , b & c

It may be noted that the expected outputs describe the invalid input values thoroughly.

Many More Articles & Tutorials on Black Box Testing

Posted in Black Box Testing, Flamboyant Topics

Post navigation

How Secured Your Job is-A Barometer for Self-Assessment
Who is best suited for Testing the Database
Quick Links to Our Knowledgebase
Interview Preparation
Interview Preparation Resources for Beginners to Experts
PMI PMP (Project Management Professional) Certification
PMI PMP Certification Préparation Ressources
PMI PMP Certification Exam Practice Question Papers
Study Material for ISTQB Certifications
Study Material - ISTQB Certified Tester Foundation Level Exam
Study Material - ISTQB Agile Tester Extension Level Exam
Study Material - ISTQB Certified Tester Advanced Level - All 3 Certifications
Keep track of latest posts by subscribing our RSS feed.You can also Subscribe by E-mail and get All New articles delivered directly to your Inbox.
Study Material for CSTE Certification
Complete Study Material-Certified Software Test Engineer-CSTE Certification Exam
Certifications on Reputed Automation Tools
Study Material - HP QTP / UFT Certification Exam
Study Material - HP QC / ALM Certification Exam
Study Material - HP LoadRunner Certification Exam
Study Material - IBM Rational Functional Tester - RFT Certification Exam
Quick Navigation Sitemap of SoftwareTestingGenius

Get your Absolutely Free Copy of Several Presentations & E-Books related to ISTQB, HP QTP/UFT, Load Runner, RFT and many more Certification Exams, prepared by Expert & Trainers, by writing to: Software.testing.genius@gmail.com

Share Your Views Cancel reply

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

Advertisements

  • Popular
  • Recent
Full Study Material for ISTQB-Foundation to All 3 Advanced level Certification Exams
Consolidated Study Material-Full Knowledgebase on QA and Testing
Consolidated Study Material-IBM RFT Certification Exam
Consolidated Study Material-QTP and QC Certification Exams
Consolidated Study Material-ISTQB Certification Exams
An Insight to Project Management – A Short Primer for Novice to Experts
Essential Skills an Effective Project Manager must have
Determine whether a given endeavor is a Project? or not?
Glossary of terms related to Project Management-Alphabet T to Z
Glossary of terms related to Project Management-Alphabet Q to S

About Us
Know more about Software Testing Genius!
Contact Us
Start a conversation with our team of experts!
Easy Navigation Sitemap
Quickly navigate through Software Testing Genius!

Privacy Policy
Copyright Policy
Online Conduct

Advertise
Promote your Website, Product or Services!
QTP/UFT Training
Get Online Training From HP Certified Experts!
Software Testing Service
Outsource your testing requirements to us!
Connect with us
Latest Posts
  • An Insight to Project Management – A Short Primer for Novice to Experts
  • New Techniques emerging out of the Fourth Industrial Revolution
  • What is Katalon Studio and How to Use it
  • Quick Start to preparation for ISTQB Agile Tester Extension Exam
  • An insight to the revolution of “Big Data” – A Primer

Free & Best Study Material

  • ISTQB Certification Foundation & Advanced
  • QTP Certification (UFT 11.5) & ALM
  • HP Load Runner 12.x
  • IBM Rational Functional Tester (000-842)

Copyscape Protection

Copyright © 2008 - 2019 Software Testing Genius

Web Cohort: Corporate Network Executions