What is mean by Equal Partitioning

Answer Posted / ramesh

A) Boundary Value Analysis(BVA):

It Is Used to Save the time in Length Testing.

Length Testing : In Length Testing we Have to Test How Many Characters You can Enter Into a Field .

Implementation Of Boundary Value Analysis:

1) Identify The Boundary(S)
2) Every Boundary Generate Three Conditions
a) Boundary Value
b) Boundary Value-1
c) Boundary Value+1

Any Value Or Condition Outside The Boundary Should Be Invalid.

Ex : In Login Page User Name Length Should Be Minimum 4 Characters And Maximum 8 Characters.

B) Equivalence Class Partitioning(ECP):

It is Used to Save the Time in Value Testing .

Value Testing : In Value Testing we Have To Test What values We Can Enter into Field .

Ex : In Login Page User Name Should Accept Only
Alphanumeric in Lower Case.

C) State Transition Testing :
Every S/W Application will have various States (User Interfaces or Screens ) . An Application State will Changes From One state to Another Based on Input Data and Operations You Carryout on the System . State Transition Testing Help Full to Check All Possible States of the Application .
Ex :
Prepare TC to Check A Customer Account Access Functionality in ATM Software Using State Transition Testing.

TC1 : Check Customer Account Access By Inserting a Valid Card and Entering Correct Pin at 1st Try.

TC2 : Check Customer Account Access By Inserting a Valid Card and Entering Wrong Pin at 1st Try and Entering Correct Pin at 2nd Try.

TC3 : Check Customer Account Access By Inserting a Valid Card and Entering Wrong Pin at 1st and 2nd Try and Entering Correct Pin at 3rd Try.

TC4 : Check Customer Account Access By Inserting a Valid Card and Entering Wrong Pin at 1st , 2nd and 3rd Try.

TC5 : Check Customer Account Access By Inserting a Invalid Card.

D) Decision Table Testing :
It is Help Full to Determine Defects Because of Mistakes Committed While specifying the Logical Operators in Code.
Decision Table Testing is Help Full to Ensure 100% Test Coverage when a Functionality is Depending on Multiple Inputs. According to Decision Table Testing Number of TC You Prepared to Ensure 100% Coverage in 2n Where n is number of Inputs.

As Per Decision Table Testing You Can Derive the Fallowing TC to Check Login

TC1 : Check Login with Valid username And Valid password.

TC2 : Check Login with Valid username And Invalid password.

TC3 : Check Login with Invalid username And Valid password.

TC4 : Check Login with Invalid username And Invalid password.

Decision Table For Login

Inputs Cond 1 Cond 2 Cond 3 Cond 4
User Name Valid Valid Invalid Invalid
Password Valid Invalid Valid Invalid
Results Display
Inbox Display
Error Display
Error Display
Error

E) Use case Based Testing:
The Tests Developed Based On The Use Cases. In A Usecase A Functionality Or Feature Would Be Described With Both Primary Flow(Positive Flow) Of Events And The Alternate Flow(Negative Flow) Of Events.

For Every Possible Positive Flow And Negative Flow, There Should Be A Test Defined.

Note: Often We Perform Use case Based Testing If The Use cases Are Available.

Use Case:
A Use Case Is A Sequence Of Steps With The Complete Set Of Primary Flow Of Events Along With The Alternate Flow Of Events Documented For A Given Requirement.

( It is a Brief Description Of Actor Actions and System Responses )

Use cases Can Be Part Of Functional Requirement Specifications, Use case Are Prepared By The Requirement Collection Team.

Benefits Of Use Cases:
1. Use case Gives A Complete Understanding On The Functionality Or A Requirement
2. They Are Considered To be The Powerful Sources For Designing The Test Cases
3. Complete Coverage In Testing Can Be Achieved Based On The Use Cases.

Use case Template:

Use case Number:
It Is An Unique Identifier Of The Use Case
Ex: Uc 1.0

Use case Name:
Ex: Payments

Actor:
The User Involved In Performing That Feature Or Functionality On The System

Action Performed:
The Operation Performed On The System By The User
Ex: Enter User Name In Login Page

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write test case for pen cap if it is not present?

2103


How to write the test cases for STP

5119


hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ

1819


Can any1 tell me how to do and Integration test design and test cases for Order Inventory system for use cases. ALso how is that going to differ from System Testing. The system is similar to amazon.com online ordering system and you can place order by calling customer call center.

1935


Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?

2095






what is the technology used in financial applications?

2919


can one defect be mapped to more than one test script in manual testing

2009


Why does the boundary value analysis provide good test cases?

698


Explain the ad hoc testing?

683


"search"test cases on Linkedin website and how will you write test cases on it?

5693


How can we write a good test case?

714


1 Tarot 1.1 Purpose - Tarot tool will duplicate the tarot-reading process for the user online. - Tarot is a craft that uses a deck of 78 cards to predict a user’s past, present and future. - The cards are picked by the user and arranged in a specific spread, which represents points in his past, present, and future; based on the meanings of the cards selected, interpretations are given. 1.2 Scope Only for registered user. 1.3 User Interface User Interface: 1. Question – This is only for user experience, and has no bearing on the formulae / process. Simple long text box. 2. Selection of field – radio button selection of 1 of 3 choices(Love, Career, Personal), which affects 1 of 3 card- meaning databases to be used. After selection, the unselected databases do not affect or interact with the system. 3. Spread Selection – radio button selection of 1 of 3 choices(Celtic Cross, Horse Shoe, Simple 3 Card). This determines the number of cards being picked and the specific spread database to be used. This also affects the specific report format being used, as well as the card- selection GUI. 4. Card Selection – based on the input 3, a specific layout is shown where the user needs to identify X number of cards (X also determined by input 3) which are then shown in the spread. Every card selection identifies the spread position constants (A, B, C, etc) with specific variable values (Card numbers) creating an array. Report format will display on a separate new page, in the following sequence – - Statement of question asked - Selection of field - Selection of spread - Detailed description of position data, positions identified as per spread selection - Card meaning as picked in field selection 1.4.5 Interfacing/Sourcing Details 1.4.5 Rules and Conditions - Data needs to be calculated for all fields, but only a maximum of 3 cards data should be shown in the free report. For the rest, a payment would be required. - Payment reports not in phase 1 - The report needs to be emailable (so functionality to convert to text file / html document should exist, which will then be emailed to the user’s email address).

2250


What is the syntax testing?

698


150 integration testing scenarios for gmail

12043


please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )

3519