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 are the major components of Perf Test Report?

0 Answers  


What are the types of functional testing?

6 Answers  


can somebody plz tel me about financial domain for manual tester?? which kind of application use and what is the approach of testing??

0 Answers  


What actually testers do in Smoke Testing?

18 Answers   Patni,


Wht is Testing Frame work.Is it same in the Manual and Automation testing. can body can explain it

1 Answers  


can you tell me how to write test cases from use case?

1 Answers  


how to execute manual test cases?

3 Answers  


what are the different types of black box techniques?

3 Answers  


What is the diffrence between web testing & web based testing?

3 Answers  


Can any one explain me what is difference between Test Methodology and Testing Techniques?

5 Answers  


How will you give estimation when preparing Test Plan

1 Answers   Virtusa,


what is parallel testing?

17 Answers   MBT,


Categories