Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is an equivalence class

Answer Posted / gayathri

Equivalence Class Testing is when you create sets of input
that have equivalent expected behavior. You do this until
all possible inputs show up in one of the groupings. Now
when you test one item from each of the inputs you should be
covering all the possible inputs in that grouping.

Some types of inputs lend themselves really well to this
type of testing – the first is a range of values. You break
it down into values within the valid range, invalid values
above the valid range and invalid values below the valid
range. Lets have an example to better illustrate what I am
trying to describe. We are going to test the
appointment-making part of the program. An appointment has
four fields:

1. Time
2. Day
3. Month
4. Year


Lets look at the month input field. Depending on how it is
implemented it could take valid values from 1-12 or it could
take the months in a string format. Lets look at the input
of values from 1-12 and what equivalence classes world be
necessary to test this input.

* valid range of 1-12
* invalid range below the valid range <1
* invalid range above the valid range >12


If the input was a string you would end up with two sets.
One that had the valid inputs in it and one that had every
thing else you could think to put in it.

So along with the month input you would also have a day,
year, and time input. The program is written in such a way
that they all have to be tested at the same time. So you
list all the groupings for all the other inputs fields and
test them at the same time. You will notice that you can
test most of the valid test cases at the same time, but you
will have to test the error cases one field at a time so you
can make sure the error is handled appropriately.

This kind of testing will allow you to keep the number of
test cases small, and you could use this type of testing at
any level of testing from unit all the way up to acceptance
testing. One of the limiting factors of this type of testing
is that it assumes identical behavior for all items in a
grouping. This is best suited to testing programs where
inputs are within ranges or values in sets

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is validation in software testing?

1157


What does entry and exit criteria mean in a project?

1110


What r the things,u prefer and prepare before starting testing?

2241


What is Independant Testing? When and where this type of testing will be performed?

1971


plz tell me the difference b/w PB/MF based appl.with examples. Thanks

2143


You have a testing team of 10 members, and now you have to reduce it by 5 member and you dont want to increase risk in your product, you are try to cover all functionality to test. What test Strategy you follow.

2509


1...DIFF BETWEEN QTP AND WIN RUNNER? 2... CHECKPOINTS AND EXPLAIN EACH OF THEM? 3...WHY IS STEP GENERATOR? 4... WHAT IS THE DIFF BETWEEN FUNCTIONS AND SUB ROUTINE?

1862


What is data flow diagram?

1077


how will you test transfer funds module...explain in detail

1567


Hello. I am not here to answer your question. I jus found a job as software QA engr. And i am totally new to software testing. So can someone pls help me in the following scenario? there is this registration screen, and it contain: One textbox called Nickname which only accept alphanumerical One textbox called Contact which only accept numerical, One textbox called Email which can be filled with alphanumerical and symbol and One button called Register now becos there is so many textboxes, where i can filled with alphabet, number, symbol, "just space", leading zeros, leading space. there will be lots of combination. can someone pls help.. i will be appreciated if u can post the test case of the scenario i mentioned. Lots of Thanks

2330


need answer interviewer will ask me about all project which i mention in resume or presently i'm working??please reply tomorrow is my interview

2030


What is the difference between a standalone application, client-server application and web application?

1256


Is compatabilitytestig and port testing are same

1900


1.How to maintain the Bug status Report? 2.What is project based Company and product based company?

7951


What makes a good test engineer?

1230