How will you test Email field?
Answers were Sorted based on User's Feedback
Answer / rajendra
E-mail address validation
Address = "A@b.c"; -- Valid
Address = "A@b.cnet"; -- Invalid
Address = "A@b.c_"; -- Invalid
Address = "A@bcnn"; -- Invalid
Address = "Ab.cnn"; -- Invalid
Address = "A@bc"; -- Invalid
Address = "A@bat@.cnn"; -- Invalid
Address = "A@bat/.com"; -- Invalid
Must not be too short and too long.
Only one @ in email address
Only one period ’.’or two periods.
No more than 3 characters after the final period (reverse
find is 0 based not 1 based)com/ org/net/mil/gov
Should not have an underscrode after @
Allowed characters 0-9 A-Z _. @-
Byeee Friends
Rajendra
rajendra_penumalli@yahoo.com
| Is This Answer Correct ? | 22 Yes | 7 No |
Answer / vishal bilgaiyan
There are many validation for E-mail here i am defining some
of them.
Email format: vishal.bilgaiyan @ gmail.com
|______________||_||___| |___|
(1) (2) (3) (4)
I have devided Email ID in 4 parts..
In first part we have to check invalid condition input
spaces, Left blank, use special character, symbols etc.
In Second part we have to check invalid condition input
other specail character [!#$%^&*()_-:;"'?/|\) at the place
of @. left thisfield as blank. input spaces.etc.
In third part we have to check invalid invalid domain.
In fourth part we have to check only valid
suffix(.com,.co.in,.edu,.info,.org,.in etc)
every time EmailID should be in well manner.
like vishal.bilgaiyan@gmail.com
Let me know if you have any problem regarding this issue.
Thanks to all of u...
bye
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / naveen kumaran.a
public boolean isValidEmailID(String emailID)
{
boolean valid = false;
if (emailID)!= null)
{
Pattern p = Pattern.compile(".+@.+\\[a-z]+")
Matcher m = p.matcher(emailID);
valid = m.matches();
}
return valid;
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ananya
check that the .com part is there or not.And also put some
numeric arbit values on the field & then check the
functionality.
| Is This Answer Correct ? | 5 Yes | 14 No |
What is Bicycle Testing?
Where you involve in testing life cycle ,what type of test you perform
Give me an example when black box testing will not able to detect a bug which white box will detect?
Hi frnds im Priyan.in interviews they are one question 4r me. " AS A TESTER, WHAT IS UR GOAL OR AIM OR AMBITION..? ".. can any one gve answer perfect answer ? tank u .. reply me plss
is software testing easy ??? Give me perfect Ans.
What is latent bug? the people who is know about this plz kindly give the ans.
At Evening 6'o clock they will release the new build to you.what will u do on that time.
In any application there are so many fields. So tester have to test each field with Special chars., Alphabetic value, Alphanumeric value, Blank Space. etc. I am testing with all these inputs but should I have to consider these into test cases. Because rather than these there many functionalities to check.Please Guide me properly
In front end if you enter one record it will be inserted in to 20 tables in back end.so How you are going to test in Manually whether data is going properly in to concern data tables or not? Is there any better solution to do that instead of opening the table and checking individually?
What is difference between individual test team testing and self testing by developer? give pros n cons.
What is Configuration management? Tools used?
if u performing on real tym application ,u r getting some continous data n if some invalid data occurs wat types of testing is preferrable