Write Testcases for creditcard limit.

Answer Posted / rohinid

You can check each and every type of card will have a specific number of digits as Card Number.

For example say, Discover should have 17 digits only. Also each card will have an expiry date. With these validations in mind, we will write test cases like :---
1. Test the boundary conditions for credit card by giving more than 17 digits and less than 17 digits.
2. Invalid credit card number.
3. Invalid Expiry date etc

Check the credit card number with alpha numeric also. It should not accept alpha numeric characters & tst with 4500 5500 0000 0001 number. This will work only in staging env's

Test credit card(CC) numbers are avail for CC testing purpose,

for ex : 4111111111111111 - for Visa card,

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is quality control? Is it similar to quality assurance?

625


Hi,friends i am going to write ICST certificate exam on augest.So can anybody post some of sample qusetions for ICST certificate exam.Really it will be useful for me

1604


What is the difference between white box, black box, and gray box testing?

649


how deployment phase of SDLC differs in product based and in service based company ?

2544


Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position

1522






How to do security implementation for any URL??

1430


What are the Major Functionality for a ATM machine ??

5006


1.what kind of testing have you done ?

2380


What type of metrics would you use?

1750


What expected result should come when Enter any sql query like “Select * from hello;” without quotes and with quotes.

1222


What is strategy to be followed for execution of 500 Test Cases in One day. If only 1 Resource is available.

1489


why use caffine for HPLC calibration ?

1664


Explain the sub-genres of performance testing?

696


How do you know the code has met specifications?

745


Hello all, Can someone tell me what kind of questions i can expect from hiring manager along with two team members on final face to face interview for manual testing position.. I am switching from BA to QA as its better on benefits etc.. Thanks in advance

1475