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 |
design a black box test suite for a program that accepts two strings and checks if the first string is a substring of the second string and displays the number of times the first string occurs in the second string.
what will u do if ur given 20 days to complete a testing activity but ur manages to complete it in 10 days? how will u spend the next 10 days?
What was the difference between Test case and Bug Report is there any template for this
What is meant by Error Guessing?
can anyone tell me the questions that can be posed in an interview for a 5 year experienced person in manual testing
Is it Mandatory to use "ECP" & "BVA" Techniques for "LOGIN" Page???,Can any one tell me the correct answer ?,If Yes then why?
What methodologies have you used to develop test cases?
What is smoke testing and when it will be done?
Why position WinRunner and the AUT so they do not overlap?
I faced following questions in Polaris Interview. 1. Tell me about u r current organization 2. what is Black box testing? 3. what is white box testing? 4. What is Functional Testing? 5. What is difference between Black box & functional ? 6. what is test plan? 7. what is test strategy? 8. what is difference between Test plan & test strategy? 9. What is smoke testing ? 10 what is sanity testing? 11. who will perform smoke testing? 12. Explain about Agile process? 13. How much you know about QTP? ( I mentioned in my resume as Exposure on QTP) 14. Explain about u r current project? 15. What is the Requirement Traceability Matrix? 16. Can u draw the template for Requirement Traceability Matrix? 17. What is Ad-hoc Testing? 18. What is difference between ReTesting and Regression Testing. 19. Can u explain about Bug life cycle? 20. How can u make sure whether all requirements are covered or not? 21. Can u explain biggest complexity in current project? 22. what is difference between bug severity and priority? 23. Which bug tracking tool is u r using? 24. can u give one example for High severity and low priority bug? 25. can u give one example for High priority and low severity bug? 26. What is security Testing?
Difference between Quality Assurance and Quality control? What does the QA ppl do?
If we have 9 floor n 3 eggs n we have to check from which floor the egg wont get break.how can we do that