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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp is it possible to check broken links of a page?

1045


What is checkpoints for qtp?

969


Why bpt?

1056


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2556


What is fragmentation and paging?

2035


What is quicktest professional window?

991


What are the different types of recording modes?

1020


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1942


Which environments does qtp support?

1094


What is CMMP and CMMH?

1163


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1796


Shall we add Local Repository to shared object repository,if yes,how we add

7489


How to analyzing the checpoint results?

1041


How will you test a keyboard?

1094


Can we write winrunner language i.e TSL in QTP tool?

1986