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

Is compatabilitytestig and port testing are same

1458


What is error cusing tecnique

1484


how to indentify memory leakages after the build

1626


How many types of api testing are there?

643


What are the basic forms of variations?

1679






What is the Testing strategy for testing client server applications/products?

1813


What are the principles of software testing?

655


How can data caching have a negative effect on load testing results?

2361


Can anybody give whole test cases for banking module.it should include from start to end .that will help me more.to do study.it should contain account,deposite,withdraw,fd,atm modules.?please try to give me??

1710


what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?

1937


sanity testing is done during regression testing.is it true.if it is true plz explain?

1450


what could be the (realtime)bugs you come across in job portal and health care projects in terms of 1. high severity n low priority 2. high severity n high priority 3. low severity n low priority 4. low severity n low priority? pls its very urgent thanks n in advance n lukin forward for reply

1691


List the considerations in developing testing methodology

6288


Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.

1457


1.Enlist the types of testing performed for any window in sequence? 2.Use of edit_get_list function 3.Accuracy & Precision

1687