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

can any one post the format of tracebility martrix Plz...... Maid Id: sandhya.shyamala@yahoo.com

1782


Testcases for msword( microsoct office word??

1668


which test strategy your are fallowing in your company?which documents u r using in software development life cycle?

1827


what is date field test case

1454


You must test a trouble report where the problem cannot be reproduced. You tried using various test data files and mutations from the data files the customer sent along with the trouble report. The software does not fail the way it did at the customer's site.

2101






How can we test for drastic (severe) memory leakages?

634


What is Online gaming, payment gateway development, hosting and custom software development services.

1432


What is quality center?

679


What different types of manual testing are there?

647


Differentiate test bed and test environment?

2119


How do you determine user soad for a perf test of a Web application?

1877


need testing projects where can i find them

1678


What r the functional testing u perform?

1654


There is an opening in our organization Sierra Atlantic, Hyderabad. All Manual test engineers with 2-3 years of experience can forward your resumes to mah_cs82@yahoo.com before May 01, 2008. (Only manual testers) with a covering letter, current CTC and Expected CTC.

1662


what are all the things we will include in " what to be tested and what not to be tested" in Test Plan

1653