This post is for sample test cases for currency text field. Most of the e-commerce websites have custom currency fields if they ship internationally. So the user only gets to fill the amount part. If the e-commerce site deals with the fixed price then you don’t find custom currency text field.
Test Cases for Currency value Field
Verify if the field accepts numbers only.
Verify if the field accepts symbols for currency.
Verify if the field accepts text character in the text.
Verify if the field allows floating point for currency value.
Check if the field accepts coma for 7 figure numbers.
Check if the field accepts more than 10 digit value within the text box.
Check if the field accepts zero as value in a text field.
Verify if the field accepts negative number.
Check if the field accepts number less than zero in floating point.
Check if the field accepts dollar sign before or after the number.
Check if the field accepts currency sign other than dollar in the text field.
Check if the field takes brackets within the text field.
Check if the field takes plus sign within the text field.
Check if the text field automatically selects the type of the currency to include in the field.
Check if the text field accepts no input and still proceeds to next step in the process.
Check if the payment goes to checkout with random characters and number in the field.
Input Number: 1. Verify that lowest and highest values are handled correctly 2. Verify that invalid values are logged and reported 3. Verify that valid values are handles by the correct procedure 4. Verify that numeric fields with a blank in position 1 are processed or reported as an error 5. Verify that fields with a blank in the last position are processed or reported as an error an error 6. Verify that both + and - values are correctly processed 7. Verify that division by zero does not occur 8. Include value zero in all calculations 9. Include at least one in-range value 10. Include maximum and minimum range values 11. Include out of range values above the maximum and below the minimum 12. Verify that upper and lower values in ranges are handled correctly