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 is the defference between calling ation and called action?

1 Answers  


How to supress warnings from the "Test results page"?

2 Answers  


suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..

2 Answers   Core Logic,


if devloper change only button names in present build then script will execute or not , why? Only gui changed.......

2 Answers   Cap Gemini,


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


What is difference between WR and QTP?

2 Answers  


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

0 Answers  


What are the types of environment variables in qtp?

0 Answers  


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

0 Answers   IBM,


Hi, i want download attached files in test plan area from QC to local drive in my system using QTP script. Please help me

3 Answers  


how to make connection to a remote mysql database in qtp any one can please provid eme deatail steps.

1 Answers  


How does qtp identify gui object?

0 Answers  


Categories