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


write is the code for regular expression in QTP

Answers were Sorted based on User's Feedback



write is the code for regular expression in QTP..

Answer / raj

'Prepare a regular expression object
Set myRegExp = New RegExp
myRegExp.IgnoreCase = True
myRegExp.Global = True
myRegExp.Pattern = "regex"

Pop up a message box for each match
Set myMatches = myRegExp.Execute(subjectString)
For Each myMatch in myMatches
msgbox myMatch.Value, 0, "Found Match"
Next

Is This Answer Correct ?    6 Yes 1 No

write is the code for regular expression in QTP..

Answer / pravat

RegExp:=name.*

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

what is Smart identification

1 Answers   Wipro,


Explain about Table and DB Checkpoints?

1 Answers   Crea,


WHY U CHOOSE TESTING FIELD?

6 Answers   CybAge, TCS,


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


How to find duplicates in an array and remove them efficiently?

2 Answers  


Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..

0 Answers  


what are the drawbacks for record and payback in qtp

3 Answers  


With out using the task manager,how to close the application using vbscript and what is the statement?

1 Answers  


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


Can you write a script for to insert array elements in an excel A to Z columns only. if the number oe elements in the array is greater than the number of columns (A to Z), come to next row and proceed furthur. eah cell should contain only one array value.

1 Answers  


In QTP, Give the difference of Global sheet and Local sheet in datatable?

3 Answers  


At a time how many users can access QTP?

5 Answers  


Categories