can any one explain with example the diff between boundary
value analysis testcasees and equivalence class testcases
pls urgent
Answers were Sorted based on User's Feedback
Answer / biswal
a)Boundary Value Analysis and Equivalence Classes are two
techniques in Black Box Testing.
b)while writing Test Cases we can use these two techniques.
Boundary value Analysis:
It is nothing but a selection
technique in which testdata are chosen to lie along certain
boundaries.
That is imagine you have to write
test cases for a login field. which will accept 1-10
characters.So if u use boundary value analysis u have to
check with the boundaries that is test with 1 character and
10 characters.then check with 2 characters and 9 characters
and check without any character and with 11 characters.
So that means when u are using the
boundary value analysis that time u have to check withe
lower boundary,lower bolundary+1,Lower boundary-1,Upper
boundary,Upper Boundary-1,Upper Boundary+1.(ie
0,1,2,9,10,11)
Now Equivalence Partitioning:
Equivalence partitioning again is
also a technique.But here we are using with class not with
a value.
if you have to test a field which
will accept 1-10 numbers,then test with positive class (1-
10_,negative class (<1) and (>10).so checking with any
value from the positive equivalence class 1-10 will give
the correct result and checking the result with negative
class will be same for all the values in the negative class.
Hope now you are clear...
Thanks...
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / glamorous
Both should be used at the time of Input domain testing.
Input domain testing can be classified into 2 types
1. Length testing 2. Value testing
Length testing gives how many values to be entered for this
BVA is to be used that is values that are on the boundary
of equivalence classes.
Value testing gives what are the values to be entered for
this ECP is to be used that is it gives valid inputs and
valid outputs.
Ex:lets take an User ID field--> Enter 1 to 10 characters
comes under BVA,,, Enter only alphanumerics without any
other characters comes under ECP,,,
i think u have clarified with this plz let me know if u
clarified, if no sorryyyyyyyyyyyyy
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sasidhar
hi friend Biswal thanks ur reply
some how i clear........... so we have to categories
equivalence class partition data as
positive class data and negative class data...........
and apply it for testing
| Is This Answer Correct ? | 0 Yes | 0 No |
Keep it simple
BVA: test cases on boundaries.
how? min--max is the range
min,min+1,min-1 and max,max+1,max-1
apply above rule for the min max boundary
Now ECP: divide the input range in the class
one valid and two invalid (for any type of range)
true and false ( for boolean)
so, when u divide ur input into valid and invalid class
there also falls boundaries. Now, apply ur BVA techniques to
minimise the test cases.
suppose input domain is 1-20
valid class=1-20
invalid class less than 1
invalid class more than 20
Hope the answer is clear to you
byeeeeeee
kishore
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sasidhar
hi friend Glamorous thanks ur reply
u will introduce me two new terminologies. can i consider
both for every input field what we are going to test
| Is This Answer Correct ? | 0 Yes | 1 No |
i have completed my graduation in B.Sc. (phy, maths,computer), right now i am having 1.6 yrs exp on manual testing, for PG full time course is full time course or parttime is suitable form me , if any one is suitable then why it is suitable
wt is the diff. bet. verification and validation If possible explain with one example.
how many modules in ur bank project? what functionalities r there?how did u check? could u plz expalin ur banking project?
if google wants to introduce the third button along with "search" and "iam feeling lucky",what u will propose and how will u test it?
1.What is end-to-end Testing 2.What ist the difference between WebBased Testing and Application Testing
5 Answers College School Exams Tests, Mphasis, Tech Mahindra,
I attended ADOBE,bangalore interview in aug 2009.first round written test they ask questions 1)Give 5 reasons why a build can be released with bug 2)Write a bug report for a word processor program which crashes when the contents of 89th column is been sorted in assending order. 3)write test 10 cases for program which has a table with 2 fields of NAME od char type and CLASS of INT type.NAME fields is truncated after 26 charaters and CLASS takes value between 1 to 9 both included. There are 3 possible opearations program can perform a)When a new student joins the class the program adds a new field b)When student leaves the class the field get deleted c)when student gets promoted then program incremts the class by 1 Write 5 test cases for the scenario. 4)write 10 test cases for a program that takes date in dd/mm/yyyy format and prints it out with a increment of 1. for dates (dd) can be given in the range 1<=dd>=30 for months (mm) can be given in the range 1<=mm>=12 for years(yyyy) can be given in the range 1600<=yyyy>=9999 5)Give 5 bugs that could cause a program to crash when it printed the 999999 th pages 1000001th line. Some objective question were there but they were easy. 1st LEVEL WRITTEN TEST FOR QA: 1. 15 min Logical Ability test: Simple syllogism based questions, sequence related questions, etc 2. 30 min Quantitative Aptitude test: Simple Arithmetic, angles, geometry, profit/loss, number system There will be 15 questions for match the column Mark A if column A is GREATER than column B Mark B if column A is LESS than column B Mark C if column A is = column B Mark D if DATA IS INSUFFICIENT There are very simple typical baron based There would be 3 questions on triangles all three were from RS Aggarwal. 17. there was one set of questions on the DI question on 20 -25 were on this graph It was about the total mass of human body is 70,000 gms Muscles 30000 Bones 10000 Blood 5000 Liver There were two pie charts Which tell the percentage of water in the food. And the second one tells the which parts ,,something like that Question 1. what percentage of total mass does liver has Ans 2.4% What is the ratio of bones to total mass All the questions are simple .. 3. 45 min Testing concept test: 20 objective multiple choice qustions like binary form of numbers, virtual memory, lossy compression, while loop, if-then-else, error codes. 1. Winzip is a a. lossy compression b. lossless Compression c.text d image 2. output of 11000100 minus 2 3. Memory leakage is because of a.variable not decraled b. variable not free.. like this 4 options were given 4. Virtual memory concept is related to a. memory leagkage {mospagebreak} 5.Reggretion testing is defined as a. testing the whole application b.testing the different modules in the application 6. If the time is very limited for the testing then what would u test in the application. a. run all the tests b.look for the most used featues in the application c.go to the test plan and run the test based on the priority I would suggest to go thru all the definition like what is regretion testing .what is unit smoke.etc. 1 Test Case Writing questions: 10 test cases for entering 3 values representing sides of a triangle and the program giving output as scalene, isosceles or eqilauteral (10 Marks) 1 Output of a calculator and finding the error in the output, write the defect log for the bug (5 Marks) 1 Ques on weather Dev should do the testing or not. Give 3 reason on favour and 2 against it. (5 Marks) 1 Question diff between priority of a bug and severity of a bug. Give example of one case where priority is high but severity is low and one case where severity is high bur priority is low. 1 Question on a program that calculates P=R/I where R, I are integer inputs and P a floating point output. Write 10 test cases for this - 5 Marks. 2nd round: 1.write a testcase for login page,mobile phone. 2.write a program for fibonacci series. 3.puzzles (-%-+-+--=-%-+--) fill the dashes with nos from 1 to 9.left hand side only odd nos. right hand side only even nos. the nos should not repeat. 4.what is sanity testing,regression testing,explian about ur project etc.. 3re round: 1.explain about ur project.they will ask questions from projects like what is the web server used in ur project,what are all the clinents ur company will have?team size etc... 2. one puzzle. i attended upto this level only...still more rounds will be there....if u goto adobe interview be clear in testing concepts,basic programs and more puzzles.
suppose i want to execute 1000 tcs in a day there no time to execute the testcases then as a tester what i need to do plese give me the correct answer?
1. what is SDLC and TDLC ?
How can you find dead code!!
5. What do you like about each of the Web sites?
What is 'string' testing?
what is test data?how test data is prepared? are there any guidelines/methods to prepare it?