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

What VBScript operators, functions, and statements do you use in QuickTest Professional?

0 Answers  


What are main panes available in qtp test browser?

0 Answers  


Hi, I have 50 test cases for automation, Based on which criteria we can decide for these test cases we have to use Descriptive programming and remaining for general coding? Thanks In Advance..Kavitha

2 Answers  


how to do the batch testing in test director using manual testing procedure?

0 Answers  


how we do database testing with qtp using descriptive programming?

22 Answers   Nutrins, Rohit Technologies, Symphony, Syntel, TCS,


How to carry out bit map check points in QTP

0 Answers   kenexa,


How does qtp identify objects in the application?

0 Answers  


How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely

3 Answers  


Why qtp always start action1 and does not start action?

0 Answers  


how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"

10 Answers   Aspire, MNC, Omega,


What is meant by Environmental variables?2 types r there know…can u pls explain clearly?

1 Answers  


will QTP accepts javascript?

14 Answers   AppLabs,


Categories