How to write a test case for Email and web address
Answers were Sorted based on User's Feedback
Answer / eranki
Generally email has 2 parts a local part and domain part
test is local part and
t.com is the domain part
consider a text box
It shud accept only 10 characters - 20 characters
" " " @, _ , . symbols
" " " small alphabets and numerics
Email Id should be like the same Format: Local-Part@Domail
All our test conditions we can divided into two parts,
1) Email should be contain the Local-Part.
2) Email should conatain a Domain Name.
3) "@" symbol should be there in between Local Part and
4) Minimum 1 dot should be there.
5) Maximum 2 dots can be there.
6) "underscores" (_) pecial character can be allowed.
7) Email can allow character and numbers
8) It shud accept only 10 characters - 20 characters
1) Local Part should not conatin any special symbols.
2) Domain name not valid.
3) "@" not used in between Local Part and Domain Name.
4) Maximum "dots" (.) exceeded in the domain name - 3 dots.
5) Domain Name contais special characters.
|Is This Answer Correct ?||42 Yes||6 No|
Answer / vinayak
Here is the list of valid and invalid email format which can
be used for testing
Valid Email address Reason
email@example.com Valid email
firstname.lastname@example.org Email contains dot in the
email@example.com Email contains dot with subdomain
firstname.lastname@example.org Plus sign is considered valid
email@example.com Domain is valid IP address
firstname.lastname@example.org Square bracket around IP address is
"email"@domain.com Quotes around email is considered valid
email@example.com Digits in address are valid
firstname.lastname@example.org Dash in domain name is valid
email@example.com Underscore in the address field is valid
firstname.lastname@example.org .name is valid Top Level Domain name
email@example.com Dot in Top Level Domain name also
considered valid (use co.jp as example here)
firstname.lastname@example.org Dash in address field is valid
Invalid Email address Reason
plainaddress Missing @ sign and domain
@domain.com Missing username
Joe Smith <email@example.com> Encoded html within email is
email.domain.com Missing @
email@firstname.lastname@example.org Two @ sign
.email@example.com Leading dot in address is not allowed
email.@domain.com Trailing dot in address is not allowed
email..firstname.lastname@example.org Multiple dots
あいうえお@domain.com Unicode char as address
email@example.com (Joe Smith) Text followed email is not allowed
email@domain Missing top level domain (.com/.net/.org/etc)
email@-domain.com Leading dash in front of domain is invalid
firstname.lastname@example.org .web is not a valid top level domain
email@example.com Invalid IP format
email@domain..com Multiple dot in the domain portion is invalid
|Is This Answer Correct ?||28 Yes||2 No|
Answer / pradyumna
Test case for e-mail
1-go to the addressbar of IE and then write thw url of the
2.when the page comes then input valid value in the field E-mail
3-input valid value to the field password
3click on submit button
|Is This Answer Correct ?||16 Yes||37 No|
If asked to create a Configuration Design Pattern, where would you start?
what is meant by deffered status
Can Any one tell me How to test Stand alone application? wht are the major points to cover & how performance is tested of this application?? can any 1 tell me its bit urget for me guys.
What is the difference in ad-hoc testing and one time testing ?
what is the good answer for authentication and authorization?
When a defect is assign as Postponed and differed. explain with example? thanks
what r the different types of testing techniques?
Types of testing
can any tell me wht is difference between Quality Assurance, Quality Analysist? QA stands for Quality Assurance or Quality analysist?
What is difference between Test Plan and Test Strategy?
When u r executing a test case an error dialog or window appeared on screen describing some msg . u have to send that dialog/window as an attachment to the developer to let him understand properly abt the error dialog /window. how do u capture that error dialog/window as a snapshot , in manual tesitng ?
Plz any one explain with example for a high priority with low severity and low priority with high severity bug