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

take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?

2 Answers   IBM,


Can the user toggle between using Local OR and shared OR for the same action?

0 Answers  


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


distinguish between old version and new version QTP features.

0 Answers   CTA,


how to check URL using QTP? write vb script with descriptive programm only?

1 Answers   Syntel,


how to write this script using descriptive programming? the script below is the script generated by QTP plz write the script using descriptive programming? plzzzzzzzz do answer thanku Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit("Email").Set "test123" Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit ("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4" Browser("Welcome: Mercury Tours").Page("orkut - login").WebButton("Sign in").Click Browser("Welcome: Mercury Tours").Page("orkut - home").Link ("Logout").Click Browser("Welcome: Mercury Tours").Page("orkut - login").Sync Browser("Welcome: Mercury Tours").Close

3 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

0 Answers  


Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com

2 Answers  


What do you to script when objects are removed from application?

0 Answers  


Why divide a test into three action calls?

1 Answers  


Is it possible to call out to Java from QTP?

2 Answers  


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

0 Answers  


Categories