Results 1 to 6 of 6

Thread: Evaluate credit card number

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    2

    Evaluate credit card number

    Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Smile Re: Evaluate credit card number

    Hi pradheep

    I would suggest a combination of both Boundary value analysis as well as Equivalence Class partitioning. Reason -

    Using BV Analysis, you can confim that the specified Credit Card Length is matched. Try with Boundary condtions of 15,17.

    Equivalence Partitioning would be required to create subsets of data like -
    Numeric, AlphaNumeric, Alphabetic and Special Characters.

    This would enable us to validate that a Credit Card number is Numeric only.

    Cheers.....

    Bizzzzzare


  3. #3

    Re: Evaluate credit card number

    Both the Boundary Value Analysis and Equivalence partitioning should be done for validating the length of the credit number. Using BAV we can the length of the digit on the boundary and by equivalence partitioning we can divide the card number into subsets and validate.


  4. #4

    Re: Evaluate credit card number

    Boundary value determines the length of the digits while equivalence partitioning will partition the digits into equally numbered groups for validation.


  5. #5
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Evaluate credit card number

    Quote Originally Posted by rk_pradheep View Post
    Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length
    Boundary value analysis is best in this scenario.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  6. #6
    Junior Member
    Join Date
    Nov 2007
    Answers
    1

    Re: Evaluate credit card number

    Quote Originally Posted by rk_pradheep View Post
    Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length
    Boundary Value Analysis


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact