How will you test Email field?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you test for the coockies for a web application?

1621


Hello everybody, How many people do you think one sprint team can have in average?

1265


what type of testing techniques are using after accept the build?

1636


is it possible web application make it as executable file

1893


How will you determine when to stop testing?

630






What about manual testing opening in bangalore in September. Not getting a single interview call from last one month.

1576


Negative test cases for phone camera

260


Give me an example of something you tried at work but did not work out so you had to go at things another way.

1646


I am DD. I am working as a Tester in e-learning company? IS there scope for content testing? or i have to change to software testing. pls guide me...

1675


how to generate id in testdirector? a) Td id 1 b) td id 2 c) td id 3 d) td id 4 which is correct answer please any one of the tell me and mail me

1798


Differentiate test bed and test environment?

2117


can you show me the test cases on registration form

1229


how to test a web application manually?can u explain indetail?

1620


HI GUYS,, I HAVE 3 YEARS OF EXP IN MANUAL TESTING...NEXT MONTH ONWARDS I WORK FOR MOBILE TESTING....PLS SUGGEST ME WHAT I LEARN FOR TRAING,, MOBILE TESTING OR ANDROID....FOR MOBILE TESTERS NEED ANDROID(IFONE) DEVOLOPMENT KNOWLEDGE OR NOT? EXPLAIN CLEARLY

1702


Please can any one tell me 1).Types of reports 2).Types of Meetings.

1309