.
GST Number Test Cases and Scenarios
Hello Folks,
In this tutorial, we will learn how to write GST Number Test Cases. We will also learn about positive test scenarios and Negative test scenarios.
Goods and Services Taxpayer Identification Number (GSTIN).
Basic GST Format: 09AABCU9603R1ZL
What are the test cases for the GST Number?
Here !!! Important test cases for the GST number field are given...
Valid Test Cases for GSTIN :
- Verify the field by entering the 15-character valid GST Number
- Verify that the first 2 characters should be a number.
- Verify that the next 10 characters should be the PAN number of the taxpayer.
- Verify that the 13th character should be a number from 1-9 or an alphabet.
- Verify that the 14th character should be Z.
- Verify that the 15th character should be an alphabet or a number.
- Verify the field by entering GST numbers less than 15 characters long GST numbers.
- Verify the field by entering greater than 15 characters long GST number.
- Verify the GST number field by entering the number which the first 2 characters of the alphabet.
- Verify the field by entering the GST number, which the first 2 characters (one is an alphabet and the second is a number)
- Verify the field by entering the invalid format of the PAN number after the first 2 characters.
- Verify the field character by entering the 13-character as zero “0”.
- Verify the 14 char by entering a 14 char other than Z.
- Verify the alert message when the user enters the GST number in an invalid format.
09AABCU9603R1ZL
Explanation :
09 - The First 2 numbers represent the state code as per the Indian Census.
AABCU9603R1 - The Next 10 characters represent the PAN number of the taxpayer.
Z- It is a default value
L-It represents a check code which can be a number or an alphabet.
How to verify the GST number
To verify any GST number, follow the steps below:
Step -1 Go to the official GST website ie, https://services.gst.gov.in/services/searchtp
Step 2 :Enter the GST number in the Text box
Step :3 Click on the search button.
Hope !! The above test cases for the GST number field are helpful for you...
Team
QA acharya
0 Comments