5 October 2012

How to write testcase for Email id ?

How to write testcase for Email id ?

EMAIL ADDRESS TEST CASE

So u want 2 enter a email id , let us take the requirements as following

REQUIREMENTS :

  • consider a text box.
  • It shud accept only 10 characters - 20 characters
  • " " " @, _ , . symbols
  • " " " small alphabets
  • 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. rohan@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. rohan_roy@yahoo.com

Negative Conditions:

1) Local Part should not conatin any character or Numeric numbers.
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

 

 

5 comments:

  1. very useful..:) thank you...

    ReplyDelete
  2. Very Nice material .its really helpful ... Thank u so much ...:))

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Yes indeed, good collection of test objectives.
    Few more here for reference:

    www.mytipsfor.com/writing/testobjectives/email-address

    ReplyDelete