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

How to get the column count and column name from the resultset in the database connection program?

5 Answers   TCS,


If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.

6 Answers  


Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.

2 Answers  


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,






does qtp runs on internet explorer 7.0

5 Answers   BeBo Technologies,


How many ways we can parameterize data in quicktest professional (qtp)?

0 Answers  


· What should test in BANKING DOMAIN application ?

2 Answers   TCS,


what is difference between analog and low level recording

2 Answers   Intel,


suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do

2 Answers   DigiTech,


For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).

2 Answers   Bosch,


Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results.

1 Answers   Cap Gemini,


Categories