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. Often the type of currency is selected by checking the IP. 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. So for this post, we are checking the currency field that is often found on bidding sites like ebay. You can also check out the sites which offer “pay what you want” feature.
Check the following image where user is asked to pay custom currency value. We are going to use this field for our test cases.
If you know any other use case for the some of the currency value field then do let me know about it in comment. You can also check out sites like Ebay and see if you can find out the similar currency value field that applies for your local currency. You may also observe similar field in custom invoice forms or sites that issue it. That way you’d get better hang of how things work for such text field. You can write test cases for those fields too.
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.
These are some of the test cases that I have found so far. If you have any other suggestions for the text field that accepts the currency values, do let me know in the comments. Feel free to share the post in the social media. I’d appreciate if you share your valuable comment below 🙂