GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Common
Go To First  |  Previous Question  |  Next Question 
 Common  |  Question 171 of 249    Print  
1 what is equivalence partitioning and boundary value analysis? Please explain with
an example with a real time scenario?

2) what is the difference between bug , defect, and issue?

3) what is the basic difference between sanity and smoke testing .Please explain
with example ? when we need to perform such testing techniques?

4) what is the general technique for writing the test case?
In interviews it is often asked write the Test Case on PEN ,PAPER, BOTTLE, FAN , TABLE ,etc.

  
Total Answers and Comments: 6 Last Update: October 21, 2009     Asked by: Sandeep Koul 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Praveen Kumar
 
Equivalence partitioning:

     Asume that , client had given you Requirement like in Login Page,  User name  and
Password should take only Alpha values not other like (Numeric ,Special character
etc) that time u should have to Prepare or u should have to analyze what are the valid inputs and what are the invalid inputs for particular fields.
 Ex: Valid                             Invalid Alpha values                Numeric, Special characters                                    Special characters with Numeric values                                   Etc   ……..

Above answer was rated as good by the following members:
swapnamadhu
March 16, 2007 07:38:21   #1  
Praveen Kumar        

RE: 1 what is equivalence partitioning and boundary ...
Equivalence partitioning:

Asume that client had given you Requirement like in Login Page User name and
Password should take only Alpha values not other like (Numeric Special character
etc) that time u should have to Prepare or u should have to analyze what are the valid inputs and what are the invalid inputs for particular fields.
Ex: Valid Invalid Alpha values Numeric Special characters Special characters with Numeric values Etc ……..

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
March 16, 2007 07:47:17   #2  
praveen        

RE: 1 what is equivalence partitioning and boundary ...
Boundary value Analysis Assume that client had given your Requirement like in Login page User name and Password should Accept only up to 9 characters not more than that and not less that 1 character that time u need to Prepare or analyse the Boundary value for that Assume that Constraint like this Min 1 and Maximum 9 Boundary values for this constraint is Min 1Max 9 Min -1 Fail (0)Min +1 Pass (2) Max+1 Fail (10)

Max-1 Pass (8)


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 16, 2007 10:12:01   #3  
sreereddy        

RE: 1 what is equivalence partitioning and boundary ...
BVA: Boundary value analysis it is of two types
1)which is accepipting values
2) which should be consider only lenth
ex In an Employ data base the salary module is accepting salary leaves emi no of leaves per month are 4 and salary should be 1500 to 1 0000 and emi must be 500 to 25000
bva for leaves min o max+5
bva for salary min 1500 max -1 99999
bva for emi min 500 max+1 2500

 
Is this answer useful? Yes | No
April 15, 2007 11:09:31   #4  
gauravc1978 Member Since: January 2007   Contribution: 8    

RE: 1 what is equivalence partitioning and boundary ...
Both are used for identification of test data for Black Box testing.

Incase of EP the entire test data is divided into classes and sample test data is picked up from each class in such a way that they represent the charecterstics of the entire class they belong to. For e.g. if we are testing a program that generates the report card for a group of 100 students we can divide the test data as per the grades

A grade 80-100
B Grade 60-80
C grade 40-60 ........

Then test the application by picking up the scores of 2-3 students belonging to each grade class. In this way we can test the application for the entire set of test data.

BVA is a black box testing technique that assumes that most of the program errors occur when we test the application with data at the boundries of the test data set.

for e.g. if the test data range is from 0 to 100 like in case of an application that generates the age for students. the BVA technique suggests testing the application for 0 1 -1 99 100 101.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 28, 2008 06:52:41   #5  
deepasree Member Since: April 2008   Contribution: 1469    

RE: 1 what is equivalence partitioning and boundary value analysis? Please explain with an example with a real time scenario? 2) what is the difference between bug , defect, and issue? 3) what is the basic difference between sanity and smoke testin
Equivalence partition:

1.It is used to reduce the number of test cases and selecting the right test cases to execute

EX: there are 12 months per year .. Two types of partition can be applied valid and invalid
valid partition is from january to december
invalid partition mis from < 0 and > 13

Boundary value analysis:
Equivalance partition and boundary value analysis is linked together. ex: -2 -1and 0 is invalid partition 1-12 is valid partition and 13 to 15 is invalid partition

 
Is this answer useful? Yes | No
October 21, 2009 06:35:21   #6  
rabbi08 Member Since: May 2008   Contribution: 10    

RE: 1 what is equivalence partitioning and boundary value analysis? Please explain with an example with a real time scenario? 2) what is the difference between bug , defect, and issue? 3) what is the basic difference between sanity and smoke testin
ANS 1: Equivalence partitioning: Dividing the input data into different sets of test case classes. It reduce no. of test cases but covers the maximum requirement.
E.g. To test value for username textbox in Login page.
Divide input set of values into different classes like only numbers only alphabets only alphanumeric only numbers and alphabets numbers with special chars alphabets with special chars alphanumeric with special chars.

Boundary value analysis: BVA is next step after EP it checks for boundary values for defined input sets. Like in above e.g. BVA will be done with boundary values as if texbox accept 10 to 100 numbers and 3 to 6 chars so BVA is for 0 1 2 chars and boundary values for 10 and 100.

ANS 2: Difference between bug Defect and Issue: Though these words are used interchangeably. but minor difference is explained below:

Bug: is an error that produce incorrect or unexpected result.
Defect: is caused by requirements gaps i.e. when application does not comply with SRS.
Issue: is caused due to technical probs or others defects in the system

ANS 3: Difference between sanity and smoke testing:
Sanity testing is narrow regression testing i.e. testing typical module after minor change It is not supported by any automation or set of test cases.

Smoke testing is testing whole application before sending the application for final testing process that it works fine. All modules are clicked in smoke testing. It is done either with defined set of test cases or automation if done.

ANS 4: General techniques for writing test case:
1. BVA
2. EP
3. Error guessing


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape