How to write a test case for Email and web address

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello everybody, How many people do you think one sprint team can have in average?

1264


How we will do Memory Testing? There is any tool to do that testing and to whome this testing to be performed?

1511


can someone give me a brief idea about embedded testing.. i know both embedded system concepts and testing concepts.. i just want to know what we have to do for embedded testing

1860


What is user acceptance testing (uat)?

655


what we have to read to gain knowledge in banking and financial domain(software testing) for 4+ experience

1738






Define what is a critical bug.

668


what is the function generator?

1702


What is split testing?

687


need testing projects where can i find them

1668


What is state transition?

666


Give me an example of something you tried at work but did not work out so you had to go at things another way.

1644


What is back to back testing?

1488


1.How can you Pick Integration Test Cases? 2.When will you start Regression Testing? 3.What is the difference between QA & QC? 4.When Will you Exit In Testing? 5.Test Deliverable's 6.What is the difference between windows based appln and web based appln? 7.What are the types of regression testing?

4478


Explain stub in testing point of view?

708


What is known as data-driven testing?

634