ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Testing >> Test Cases
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions (5188)
 Manual Testing interview questions  Manual Testing Interview Questions (6463)
 QA Concepts interview questions  QA Concepts Interview Questions (654)
 Mobile Testing interview questions  Mobile Testing Interview Questions (109)
 Test Cases interview questions  Test Cases Interview Questions (469)
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions (58)
 Testing AllOther interview questions  Testing AllOther Interview Questions (608)
Question
Give examples of boundary value and equivalence 
partitioning test cases.
 Question Submitted By :: Test-Cases
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
1000-2500----->no tax
2501-4000---->tax 5% of there Salary.
In EQUIVALENCE : values from 0 t0 999 is put together in
one class c1-means it shd behave in same manner- invalid
values
values from 1000 to 2500 in class c2 - notax
values from 2501 to 4000 in class c3- 5% of there salary
like wise grouping the values in bifferent classes,
To put this in simpler words, since it is practically
infeasible to do exhaustive testing, the next best
alternative is to check whether the program extends similar
behaviour or treatment to a certain group of inputs. If
such a group of values can be found in the input domain
treat them together as one equivalent class and test one
representative from this. This can be explained with the
above example.

Boundary Value: taking the above example
1. if user typedin 999rs -it shd promt as invalid
2. when 1000rs it shd not promt as invalid and no tax shd
be taken.
3. when 2501 is typed 5% of tax shd be taken

this is called Boundary value
 
Is This Answer Correct ?    59 Yes 17 No
Prince
 
Answer
# 2
For the instance consider the 10 digit mob number which
starts with 9,so the valid range can be from 9000000000 to
9999999999.Then by boundary value analysis we get 6 input
data
1.Input less than lower boundary => 9000000000-1.
2.Input equals to the lower boundary => 9000000000.
3.Input greater than the lower boundary =>1 9000000000+1.
4.Input less than upper boundary => 9999999999-1.
5.Input equals to the upper boundary => 9999999999.
6.Input greater than the uppper boundary => 9999999999+1.

From the above test cases four test(2,3,4,5) cases will
pass the conditions and rest two(1,6) will fail.
 
Is This Answer Correct ?    45 Yes 8 No
Akhil Mohan
 
 
 
Answer
# 3
equivalence partitioning
--------------------------
consider a form field which ask for the age of a person.
let the age should be >=18 and <=50.
this range can be divided into three classes.

==>> values less than 18(invalid class)
==>> values between 18-50(valid class)
==>> value greater than 50(invalid class)

we can see that there are two invalid and one valid class.
it is not necessary that we have to use multiple values
from each class.One value from each class is more than
enough.

Boundary Value Analysis
--------------------------
consider the same scenario used above.

here we can give the test inputs as follows
==>>lower limit+1 & lower limti-1(ie. 17 & 19)
==>>lower & upper limits (ie. 18 & 50)
==>>upper limit+1 & upper limit-1 (ie 49 & 51)

There will be six test inputs when we are using boudary
value analysis.
 
Is This Answer Correct ?    41 Yes 5 No
Romario
 
Answer
# 4
For the instance consider the 5 digit mob number which
starts with 9,so the valid range can be from 90000 to
99999.Then by boundary value analysis we get 6 input
data
1.Input less than lower boundary => 90000-1.
2.Input equals to the lower boundary => 90000.
3.Input greater than the lower boundary =>1 90000+1.
4.Input less than upper boundary => 99999-1.
5.Input equals to the upper boundary => 99999.
6.Input greater than the uppper boundary => 99999+1.

From the above test cases four test(2,3,4,5) cases will
pass the conditions and rest two(1,6) will fail.
 
Is This Answer Correct ?    36 Yes 2 No
Rinesh
 
Answer
# 5
lets consider the behavior of
tickets in the Flight reservation application , while
booking a new flight. Ticket values 1 to 10 are considered
valid & ticket is booked.

In equivalence partion :
-------------------------
1 to 10 ----> valid
<1 ----> invalid
>10 ----> invalid

ie. 0 and 11 are invalid
1 to 10 valid.
Boundary value analysis :
-------------------------
min =1
max=10
min-1=0
max+1=11

1 and 10 are valid
0 and 11 are invalid
 
Is This Answer Correct ?    15 Yes 3 No
Balu Varma
 
Answer
# 6
Equivalence Partioning :
Lower 18
Upper 50
Between 18-50
(19-49)
Here We miss some test cases ie. in the boundary values

Boundary Value Analysis:
(18-1,18,....50,50+1)
By this We Can Write the Test Cases Very Effective and here
reputation of data is allowed this is the one of the
drawback here
 
Is This Answer Correct ?    17 Yes 6 No
M.kamala Priya
 
Answer
# 7
To understand this better , lets consider the behavior of
tickets in the Flight reservation application , while
booking a new flight. Ticket values 1 to 10 are considered
valid & ticket is booked.

In equivalence partion :
-----------------------------

Invalid valid Invalid -----> 3 partitions class

-9 -8.. 0 | 1...10 | 11....999999 and so on

Boundary value analysis :
--------------------------

0,1,10,11 are BVA .
 
Is This Answer Correct ?    11 Yes 4 No
Arghodip Roy
 
Answer
# 8
if we consider sinx where "x" ranges from 0-360degrees then what will be value of "x" for equivalnce partitioning ?

Ans:if x=180 then the equivalence partitioning is possible because 180-x,180+x forms the sine curve to be satisfied.
 
Is This Answer Correct ?    11 Yes 9 No
Bhanuchandar
 
Answer
# 9
boundary value:
for int suppose boundary is say 1 to 50
then test for 0,2 values & 49, 51 vales.

for string... test for null or length or capacity of
string(size).

equivalence partitioning:
e.g.: divide(a,b) ...boundary -50 to +50
(do not forgot zero for 'b')
test for... -51, and -1 --------(1)
also 1, and +51 ------------(2)
(1),(2) are two partition.
 
Is This Answer Correct ?    48 Yes 68 No
Raghavendra
 
Answer
# 10
bva

let takee 1 to 50

boundaries are 1 and 50

Equivalence

1 to 9
1 2 3 4 5 6 7 8 9

5 is the equivalence
 
Is This Answer Correct ?    15 Yes 38 No
Amar
 

 
 
 
Other Test Cases Interview Questions
 
  Question Asked @ Answers
 
difference between scenario and testcases? Satyam 5
Who will take care of test plan and test case?   1
Hai, Could anybody please let me know, how to calculate the number of test cases required to test a program. Please provide me the answer for the following question: “What type of ticket do you require, single or return?”IF the customer wants ‘return’Ask: “What rate, Standard or Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That will be $11:20”ELSESay: “That will be $19:50”ENDIFELSESay: “That will be $9:75”ENDIFNow decide the minimum number of tests that are needed to ensure that allthe questions have been asked, all combinations have occurred and allreplies given. a) 3 b) 4 c) 5 d) 6   1
What is Defect Seeding? What is Defect Density?   1
Please Tell me the Real Process of a Company. My company is very small & Developer explains me the feature and I prepare the test cases according to he explained .No one is there to review what I have written in the test cases.Test cases are ok but still I have the knowlege of real testing documents i.e which documents I have to prepare What is the flow starting from requirement gathering.Please tell me ,Thanks in advance .It will really helpful to me   1
how will we know test cases are written by us are correct TCS 5
How would you test a cup and or pencil?   2
what are the testcases for square   4
plz tell how to test this: We have to change the password of password field the condition is:The password will expiry after 30 days and that should not allow last 12 similar passwords.... ACS 2
if software faild in customer environment what we called a)error b)fault c)defect d)failure ITC-Infotech 5
If I have written the 10 Positive test cases first and Negative test cases 11 to 25 .I Execute +ve first & then - ve as per test cases were written .Now if I got the next build & if I write again +ve Test Cases 26-30 first & then - ve 31-35 but I have to execute all test cases 1 to 35.But here the sequence of execution is +ve,-ve,+ve & -ve .How should I maintain the test cases .Please tell me It's Urgent .Thanks In Advance.....Tester IBM 2
There is project earlier it was developed in VB then they had replaced the project by java and there is no documentation available then how you are going to check that project. (Hint: - Parallel Testing).   2
 
For more Test Cases Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com