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...


What is an Regular expression doing in VBScript?Tell the
pattern for the email verification.



What is an Regular expression doing in VBScript?Tell the pattern for the email verification...

Answer / reg

Regular expressions enable QuickTest to identify objects
and text strings with varying values.
MyEmail="My_Name01@gmail.com"
Set regEx=new RegExp
regEx.Pattern="^[a-zA-Z][\w\.]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-
]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"
isValid=regEx.Test(MyEmail)

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More QTP Interview Questions

What is file database?

0 Answers   Syntel,


How to import excel sheet to QC?

1 Answers  


we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .

1 Answers   TCS,


Hi ,Can any one pleas explain how to test splash objects using QTP?

0 Answers   Value Labs,


Is there is any method how to connect remote desk throw QTP if yes please answer with a example?

3 Answers   HP,


What is a checkpoint? How many check points are there in qtp?

0 Answers  


1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?

5 Answers   Wipro,


Problem with XML checkpoint in QTP ?

0 Answers  


if we made any changes in shared object repository how it reflects of others like our team members?

2 Answers   CTS,


What is the syntax for how to call one script from another?

0 Answers  


How to handle dynamic objects in quicktest professional?

0 Answers  


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

0 Answers  


Categories