how to validate email?email ie correct or not ?with below
conditions.
1)before @(symbol) only alphbates and min 4 char to max 15
chars.
2)before @(symbol) only alphabates dont use ant special
chars or numarics
3) after @(symbol) only one dot(.)symbol

for ex:abc@gmail.com it is valid email or not based above
conditons

Answers were Sorted based on User's Feedback



how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alph..

Answer / pradeep chowdary

This abc@gmail.com is not valid email
because before @ symbol there must be min 4 to max 15
characters that means min 4 characters must and should
Therefore it is not a valid email
This is as per my knowledge
If it is wrong pls correct me

PradeepChowdary

Is This Answer Correct ?    5 Yes 0 No

how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alph..

Answer / rajkiran singh

Hope this will help;

^[\w-\.]{4,15}+@([\w-]+\.)+[\w-]$

if you want more references.. http://www.regxlib.com/

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

How the exception handling can be done using QTP

6 Answers  


how to count the word "IS" is repeated in the application using DP

3 Answers   DST Global Solutions,


Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?

3 Answers  


Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?

1 Answers  


In QTP how to interact tool and application build?

2 Answers  






Where is the Bitmap checkpoint information stored?

0 Answers   Ordain Solutions,


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

0 Answers  


Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine

1 Answers  


What is the use of low level recording? How does it useful?

1 Answers  


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

0 Answers  


What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com

1 Answers   Cap Gemini,


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

0 Answers  


Categories