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 black phase in SDLC
Meaning of Web Application. my doubt is www.yahoo.com .it is web application?
How can one file compare future dated output files from a program which has change, against the baseline run which used current date for input. The client does not want to mask dates on the output files to allow compares.
What are the cases when you’ll consider to choose automated testing over manual testing?
In interview,always they ask..WHAT TYPE OF BUGS U FOUND IN UR PROJECT? I hv completed testing course and preparing for interview..can u please send me the answers as earlier as possible thanks in advance..Help me out please.......
We can check many things in one test case, then Is it necessary to write separate test case for checking each functionality? Example : For Login Window --> Test Case is---> 1) Enter valid user id & password --> For this expected result --> 1) User should login. My question --> while executing above valid test case, we can expect more than one result such as "Visibility of password should be as ****" So Should I have to write separate test case for "Visibility of Password" OR Not? Please guide me properly.
what is localization testing?is it a WBT or BBT technique? thanx mahendar for ur valuable answer.
What is a show stopper?
How do u find duplicate test cases?
what is the project strategy
What is the difference between stress, volume and load testing?
HI everyone, I'm new software testing.I want to learn manual testing. can any one help me how to practice the manual testing. I know some basic of manual testing.I want to practice. Please can any one tell me suggested sites,projects or any book or any guidence.