Friday 24 February 2023

Test Cases For Email Id Field validation - Email Address Test Scenarios

 

Positive Test Cases for 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 With Email contains dot with subdomain

  • Verify that the email id filed With the Plus sign is considered a valid character.

  • Verify With 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 are valid

  • Verify email id With Digits in the address are valid

  • Verify the email id filed With Underscore in the address field is valid

  • Verify the email id filed With .name is 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 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 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


List of Valid Email Addresses

A list of valid emails 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


List of Invalid Email id /Address

A list of all invalid email id formats is given below 

  • plainaddress

  • #@%^%#$@#$@#.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