Italian Trulli

Test Cases For Email Id Field and Email field Validation Scenarios

Test Tribe
.
Sample Test Cases For Email ID Field and Email Field Validation

How to Write Test Cases For Email ID Field Validation?

Hello Folks,

In this Tutorial on email ID test cases, we are going to learn the positive Test Cases, Negative Test cases, and UI Test cases for the email field and we also learn the valid format and Invalid Format of Email.
 
What are the Test Cases for Email Address Validation?

There are two types of test cases for email address validation.
  • Positive Test Cases for Email ID
  • Negative Test Cases for Email ID

Here!!! Important sample test cases for email ID field given...

Positive Test Cases for the Email ID field

  • Verify the field by entering a valid email address.
  • Verify the field With Email contains a dot in the address field.
  • Verify That the Email has a dot with the subdomain.
  • Verify the email ID filed With the Plus sign is considered a valid character.
  • Verify That the Square bracket around the IP address is considered valid.
  • Verify the email ID filed With Quotes around the email is considered valid.
  • Verify Email ID field With Digits in the address is valid.
  • Verify that the Email ID with the Digits in the address is valid.
  • Verify the email ID filed With Underscore in the address field is valid.
  • Verify the email ID filed With .name is a valid Top Level Domain name.
  • Verify With Dot in Top Level Domain name also considered valid (use co.jp as an example here).
  • Verify With Dash in the address field is valid.
  • Negative Test Cases for the email ID field.
  • Verify the email ID filed With the Missing @ sign and domain.
  • Verify the email ID text box With Garbage.
  • Verify the email ID filed With the Missing username.
  • Verify the email address field With Encoded HTML within the email is invalid.
  • Verify the email ID field With Missing @.
  • Verify the email ID filed With the Two @ sign.
  • Verify the email ID text box With the Leading dot in the address is not allowed.
  • Verify the email ID filed With a Trailing dot in the address is not allowed.
  • Verify the email address field With Multiple dots.
  • Verify the email ID filed With Unicode char as the address.
  • Verify the email ID text box With Text the following email is not allowed.
  • Verify the email ID text box  With the Missing top-level domain (.com/.net/.org/etc.)
  • Verify the email ID filed With .web is not a valid top-level domain.
  • Verify the email ID text box With an Invalid IP format.
  • Verify the email ID text box With Multiple dots in the domain portion is invalid.

UI Test Cases For Email

  • Verify the webpage has the email field. 
  • Verify whether the label text of the email field is shown as per requirement or not. 
  • Verify the label text is aligned with the email field. 
  • Verify whether the placeholder text is added or not.
  • Check Whether the Type Text is Properly Visible to the user or not.
  • Check whether the colour, Size Font Family Font Size and other Properties of email ID fields are as per requirement.



Valid Email Id Example 
A list of valid email ID is given below.

  • email@example.com
  • firstname.lastname@example.com
  • email@subdomain.example.com
  • firstname+lastname@example.com
  • email@123.123.123.123
  • email@[123.123.123.123]
  • "email"@example.com
  • 1234567890@example.com
  • email@example-one.com
  • _______@example.com
  • email@example.name
  • email@example.museum
  • email@example.co.jp
  • firstname-lastname@example.com
  • List of Strange Valid Email Addresses
  • much.” more\ unusual”@example.com
  • very.unusual.”@”.unusual.com@example.com
  • very.”(),:;<>[]”.VERY.”very@\\ "very”.unusual@strange.example.com


 Invalid Email ID Example
A list of all invalid email ID formats is given below 

  • plain address
  • #@%^%#$@#$@#.com
  • @example.com
  • Joe Smith <email@example.com>
  • email.example.com
  • email@example@example.com
  • .email@example.com
  • email.@example.com
  • email..email@example.com
  • あいうえお@example.com
  • email@example.com (Joe Smith)
  • email@example
  • email@-example.com
  • email@example.web
  • email@111.222.333.44444
  • email@example..com
  • Abc..123@example.com
  • List of Strange Invalid Email Addresses
  • ”(),:;<>[\]@example.com
  • just” not”right@example.com
  • this\ is"really" not\allowed@example.com




Hope !! The Above test cases for the email ID field are helpful for you ...

Team,
QA acharya

Share Your Knowledge With Us -
Mail your content - qaacharya.in@gmail.com


Tags:
 Email id test cases, Test cases for email id field, Test scenarios for email field, email ID test cases, email address field test cases, test cases for email address field, email address test cases

test cases for email ID field 





Post a Comment

7 Comments

  1. Is there Valid regex available for those invalid email id list

    ReplyDelete
  2. This is very helpful for software tester fresher like me. Thanks everyone who are behind this wonderful website. All the best and wishes. Keep it up. You are doing a great job.

    ReplyDelete
    Replies
    1. Hey ,
      Thank you for your valuable comment.

      Team ,
      QA acharya

      Delete
  3. As a biginner it was very helpful for me to learn thank you

    ReplyDelete
  4. Hey ,
    Thank you for your valuable comment.

    Team ,
    QA acharya

    ReplyDelete
  5. Why i can't able to read whole course?

    ReplyDelete
    Replies
    1. Kindly Mail us Tutorial Name on qaacharya.in@gmail.com

      Delete