How to write a test case for Email and web address
Answers were Sorted based on User's Feedback
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 |
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
あいうえお@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 |
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 |
What is the role of QA in a company that produces software? How do you scope, organize, and execute a test project?
A Good Test Case Means..?
Have you ever completely tested any part of a product? How?
Hi friends, i have joined as a software tester in a small organization.i don't have any higher guidance. i don't have any particular format for testcases and other documents. please anyone help me to develop my testcases. i want some format.. please send me some sample test cases. this is my mail id : boopathi5886@gmail.com
what is cyclomatic complexity
what is test metrics? difference between test matrix and test metrics? (Asked in Zensar Hyderabad today(17-1-12010))
To what extent is the tester responsible for the time delay in the test plan execution?
in which cases developers will reject the bug??
In an Text Box Expected Value is 'icici' where as actual value came up is 'icci'. Now in the Bug Report How will u rate the severity and Priority?
wat is build verification testing
What is the Difference Between Manual and Automation Testing.Give Some Example Both of them
Which is the best institute for testing tools in hyderabad ? mindq or akhilreddy or qa planet?