Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed Just want to highlight, i am looking for a test case writing technique for above scenario.

2053


what is system testing? as test eng, what do u do in sys testing? who invoves in sys testing?

2318


What are the uses of test plans? What is the need of test plans and explain their significance

1914


What is a defect?

1185


Explain unit testing, integration tests, system testing and acceptance testing?

1278


what are metrics and what are metrics did u collect in you are project

2359


What is the difference between code walkthrough and code review? What is the difference between walkthrough and inspection?

3002


What type of projects can include in Logistics Domain? and what is the type of domain for project which include Driving license renewal, Different type of title registration etc...

2986


need testing projects where can i find them

2209


What is test closure?

1395


What is the Diff between Code Walkthrough & Code Review? What is the diff between walkthrough and inspection? What is meant by GUI Testing?

2119


What is the difference between functional requirement and non-functional requirement?

1131


What are the different servers and difference between them?

2171


How much the bug is affecting the functionality of the application?

1119


What is the difference between a defect and a failure?

1159