Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 is local part and 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,

Positive conditions:

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
Domain Name.
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

Negative Conditions

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

Is This Answer Correct ?    42 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 Valid email Email contains dot in the
address field Email contains dot with subdomain Plus sign is considered valid
email@ Domain is valid IP address
email@[] Square bracket around IP address is
considered valid
"email" Quotes around email is considered valid Digits in address are valid Dash in domain name is valid Underscore in the address field is valid .name is valid Top Level Domain name Dot in Top Level Domain name also
considered valid (use as example here) Dash in address field is valid

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

Is This Answer Correct ?    28 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
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

Post New Answer

More Manual Testing Interview Questions

If asked to create a Configuration Design Pattern, where would you start?

0 Answers   TriZetto,

what is meant by deffered status

6 Answers   Infotech,

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.

4 Answers  

What is the difference in ad-hoc testing and one time testing ?

4 Answers  

what is the good answer for authentication and authorization?

5 Answers  

When a defect is assign as Postponed and differed. explain with example? thanks

2 Answers  

what r the different types of testing techniques?

8 Answers  

Types of testing

4 Answers   CSC,

can any tell me wht is difference between Quality Assurance, Quality Analysist? QA stands for Quality Assurance or Quality analysist?

3 Answers  

What is difference between Test Plan and Test Strategy?

12 Answers   AZTEC,

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 ?

9 Answers   Accenture,

Plz any one explain with example for a high priority with low severity and low priority with high severity bug

1 Answers