Italian Trulli

Test Cases For GST Number Field

Test Tribe
.
Sample Test Cases for GST Number Field

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 characters 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.

Invalid Test Cases For GSTIN :

  • Verify the field by entering 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 char alphabet.
  • Verify the field by entering the GST number which the first 2 characters (one is the 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 char as zero “0”.
  • Verify the 14 char by entering the 14 char other than Z.
  • Verify the alert message when the user enters the GST number in an invalid format.

How to Identify the GST number :

09AABCU9603R1ZL

Explanation :
09 - First 2 numbers represent the state code as per the Indian Census.
AABCU9603R1 - Next 10 characters represent the PAN number of the taxpayer.
Z-It is a default value
L-It represents a check code it can be a number or an alphabet.

How to verify the GST number
To verify any GST number follow the below step 

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

Test cases for GST number field

Post a Comment

0 Comments