adspace
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
What is the difference between baseline and traceability matrix?
About Hierarchy level in your company.
what is the architecture of your current project?
What kind of testing to be done in client server application and web application? Explain
What is the quality process is following in your organization.
Please Provide me the link to download Testing Category questions and answers If some body has downloaded it pleae send it to me Pavan : Email pavan_cd@yahoo.com Quetion2 : Can any body Explain me about Testing thumb rules
What is neutral test case?
Hi could some one please send me the testplan testcases(for 2Modules) and testscripts for mercry fliht aplication or gmail. please write those on templates and send me.In testplan plase write Testobjective, test scope, est approach, exlusions assumptios.
Hello, I want to know how to write a regression test plan? Can someone please send me the format/template? Thanks in advance
hello frens. Im Arun from the uk. im planning to apply for tester jobs with 3yrs experience. the problem is i dont have resumes. i have to mention atleast 3 projects (preferably financial projects) in my CV. im totally blank. can u plz send ur CV's to my email.... arunmoses1982@yahoo.com. this would be a great help from you guyz. n u need any help from me? just mail me n ill get in touch with u. Thanx.
Hi there Does anybody can respond to my Questions? Is some one there to answer my Questions posted in Software testing category.pls E-mail to sunitht27@yahoo.com
tell me some major and minor defects in ur net banking project?
hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com
can anyone help me in getting unix on manual testing i.e can u forward material & web sites to my mail id (suresh_57599@yahoo.com) to understand how the work flow working on manual testing on unix and the contents.plzzzzzzzz help me its urgent.
iam having 2+yr sof exp in manual testing, at present working in chennai,want to relocte to hyd .if any openings let me know.my id : vaniramymail.com