How to write a test case for Email and web address

Answers were Sorted based on User's Feedback



How to write a test case for Email and web address..

Answer / eranki

Generally email has 2 parts a local part and domain part
test@t.com
test is local part and
t.com is the domain part
REQUIREMENTS :
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
Name

All our test conditions we can divided into two parts,

Positive conditions:

1) Email should be contain the Local-Part.
Eg. deepti@yahoo.com
2) Email should conatain a Domain Name.
Eg. rohan@yahoo.com
3) "@" symbol should be there in between Local Part and
Domain Name.
Eg. rohan@yahoo.com
4) Minimum 1 dot should be there.
Eg. rohan@yahoo.com
5) Maximum 2 dots can be there.
Eg. rohan@yahoo.co.in
6) "underscores" (_) pecial character can be allowed.
Eg. deepthi_12@yahoo.com
7) Email can allow character and numbers
8) It shud accept only 10 characters - 20 characters


Negative Conditions

1) Local Part should not conatin any special symbols.
Eg. $$**%%@yahoo.com
2) Domain name not valid.
Eg. rohan@gfdgfgfsdg.gfddsg
3) "@" not used in between Local Part and Domain Name.
Eg. rohan&yahoo.com
4) Maximum "dots" (.) exceeded in the domain name - 3 dots.
Eg. rohan@yahoo.co.in.in
5) Domain Name contais special characters.
Eg. rohan@***$$$.com

Is This Answer Correct ?    44 Yes 6 No

How to write a test case for Email and web address..

Answer / vinayak

Here is the list of valid and invalid email format which can
be used for testing


Valid Email address Reason
email@domain.com Valid email
firstname.lastname@domain.com Email contains dot in the
address field
email@subdomain.domain.com Email contains dot with subdomain
firstname+lastname@domain.com Plus sign is considered valid
character
email@123.123.123.123 Domain is valid IP address
email@[123.123.123.123] Square bracket around IP address is
considered valid
"email"@domain.com Quotes around email is considered valid
1234567890@domain.com Digits in address are valid
email@domain-one.com Dash in domain name is valid
_______@domain.com Underscore in the address field is valid
email@domain.name .name is valid Top Level Domain name
email@domain.co.jp Dot in Top Level Domain name also
considered valid (use co.jp as example here)
firstname-lastname@domain.com Dash in address field is valid





Invalid Email address Reason
plainaddress Missing @ sign and domain
#@%^%#$@#$@#.com Garbage
@domain.com Missing username
Joe Smith <email@domain.com> Encoded html within email is
invalid
email.domain.com Missing @
email@domain@domain.com Two @ sign
.email@domain.com Leading dot in address is not allowed
email.@domain.com Trailing dot in address is not allowed
email..email@domain.com Multiple dots
&#12354;&#12356;&#12358;&#12360;&#12362;@domain.com Unicode char as address
email@domain.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
email@domain.web .web is not a valid top level domain
email@111.222.333.44444 Invalid IP format
email@domain..com Multiple dot in the domain portion is invalid

Is This Answer Correct ?    30 Yes 2 No

How to write a test case for Email and web address..

Answer / pradyumna

Test case for e-mail
1-go to the addressbar of IE and then write thw url of the
email.
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 ?    18 Yes 37 No

Post New Answer

More Manual Testing Interview Questions

What is mutation testing & when can it be done?

0 Answers  


Hi, This srinivas, Q: After testing in what way we concluded the testing is over without Tracebility Matrix and what is the role played by the Tracebility Matrix and what are the documents that tester should submit to his QA manger after testing in Manual Testing apart from the Test cases.

1 Answers   CenturyLink,


Exact Difference between Sanity and Smoke Testing

6 Answers   Virtusa,


How many testcases have you written till, now as an average per project?

1 Answers   AppLabs,


wat if fiddler and how it is used in tesing an application. please explain with a real time scenario

0 Answers  






what are the kpas(key process areas) in u'r company?

3 Answers   IBM, InSoft,


What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?

0 Answers  


give me a example of writing a test case,take any good example which i can understand easily.

0 Answers   ABC,


What are triggers and procedures?

1 Answers  


which are the mandatory fields in QC while rising new bug??

4 Answers  


What is the difference between unit testing and functionality testing ?

9 Answers   CSS, CTS,


in our company we are not having any conformation management tools so, how will we follow or manage the change request from the client?

1 Answers  


Categories