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


Regular expressions.....
Actually how to use this and what is the exact syntax and
can anybody can help me out this with example.is there any
docs pls send to my mailid rvreddy82@gmail.com



Regular expressions..... Actually how to use this and what is the exact syntax and can anybody ca..

Answer / its me

It is used for dynaic changing value like in supose number is varying from 51,52,53

'Regualar Expression syntax
Set Rx= New.RegExP 'regular expression object

Rx.Global = True
'Set true if you want to check more than one occurance string else fails

Rx.Ignorecase = True
'Set true if you do not want case senstive
Rx.Pattern = "(5[1-3])"
x = Rx.Test (Str)
if x = true then
msgbox "Matach"
Else
msgbox "Not Match"
End if

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

please tellme ordernal identifiers in QTP?

2 Answers  


How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


Why we have to split actions in a test?

4 Answers  


After creating testcases, how do you start testing in QTP? what methodology will follow?

7 Answers   Actran, American Well,


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

0 Answers  


Difference between copy to action and call to action?

0 Answers  


how can you describe the basic flow of automation with conditional and programmatic logic?

1 Answers   Ordain Solutions,


How will you find the current time of the remote machine using QTP script?

0 Answers  


Can a function return a dictionary object?

2 Answers   CG, Semantic Space,


How to "Turn Off" QTP results after running a Script?

4 Answers  


What is the extension of script and object repository files?

4 Answers   Crea,


why you have standardized functions? plzzz guys with real time exp. do answer

0 Answers  


Categories