Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h2><strong>Test cases</strong></h2> <p><strong>1) Email Length</strong></p> <p>The format of email addresses is local-part@domain where the local-part may be up to 64 characters long and the domain name may have a maximum of 255 characters – but the maximum 256 characters length of a forward or reverse path restricts the entire email address to be no more than 254 characters</p> <p><em>So, divide test cases in two scenarios:</em></p> <p><strong>i)</strong> email id between 0 to 254 characters</p> <p><strong>ii)</strong> email id greater than 254 characters</p> <hr> <p><strong>2) Characters and Numbers</strong></p> <p>Email accepts Uppercase and lowercase English letters (a–z, A–Z) and Digits 0 to 9</p> <p>So, check email address with alphabets lower and upper-case and numbers, Check weather the loginid accepts the user name starting with caps letter or number or spl charaters</p> <p><strong>eg.</strong> niceandsimple@example.com, niceand122simple123@example.com</p> <hr> <hr> <p><strong>3) Special Charachters</strong></p> <p>Characters !#$%&amp;'*+-/=?^_<code>{|}~ are been accepted. So, write two scenarios. 1) email id with Characters !#$%&amp;'*+-/=?^_</code>{|}~ should be accepted ii) email id containing characters other than Characters !#$%&amp;'*+-/=?^_`{|}~ should not be accepted</p> <p><strong>eg.</strong> ---> !#$%&amp;'*+-/=?^_`{}|~@example.org</p> <p>---> " "@example.org</p> <hr> <hr> <p><strong>4) Special Characters with restrictions</strong></p> <p>Special characters are allowed with restrictions. They are: Space and "(),:;&lt;>@[] The restrictions for special characters are that they must only be used when contained between quotation marks, and that 2 of them (the backslash \ and quotation mark " (ASCII: 92, 34)) must also be preceded by a backslash \ (e.g. "\\"").</p> <p><em>Two scenarios</em> 1) characters "(),:;&lt;>@[] within double quotes ii) charachters "(),:;&lt;>@[] without double quotes</p> <p><strong>eg.</strong> ----> "()&lt;>[]:,;@\\"!#$%&amp;'*+-/=?^_`{}| ~.a"@example.org</p> <hr> <p><strong>5) Email with Dots (.)</strong></p> <p>i) email id with single dot should be accepted</p> <p>a.little.lengthy.but.fine@dept.example.com</p> <p>ii) email with multiple continues dot not accepted</p> <p>a.little.....fine@dept.example.com</p> <p>iii) Leading dot in address is not allowed</p> <p>.abc123@gmail.com</p> <p>iv) Trailing dot in address is not allowed</p> <p>abc123.@gmail.com</p> <p>v) Multiple dot in the domain portion is invalid</p> <p>abc123@gmail..com</p> <hr> <p><strong>6) domain name</strong> </p> <p>i) same domain name ----> check the mail can be of same domain name i.e gmail@gmail.com ii) Domain is valid IP address iii) Square bracket around IP address is considered valid iv) Dash in domain name is valid v) Missing @ sign and domain vi) Garbage ( #@%^%#$@#$@#.com ) vii) Two @ sign viii) Leading dash in front of domain is invalid ix) .web is not a valid top level domain x) Invalid IP format</p> <hr> <p><strong>7) Text in email</strong></p> <p>1) Text followed email is not allowed</p> <p>email@domain.com (Joe Smith)</p> <p>2) Text before email allowed</p> <p>(Joe Smith)email@domain.com </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload